Skip to content

Commit

Permalink
[linux/arm64] Try fix upload container via commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ianks committed Dec 17, 2022
1 parent bf4b4cf commit 55b4111
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ jobs:
docker_build="docker buildx build --platform=$DOCKER_BUILD_PLATFORM --cache-from=type=local,src=tmp/build-cache --cache-to=type=local,dest=tmp/build-cache-new --load -t $extra_tag"
bundle exec rake build:${PLATFORM} RCD_DOCKER_BUILD="$docker_build"
# if [[ "$(git log -1 --pretty=format:"%s")" =~ *"${{ matrix.docker-platform-cpu }}"* ]]; then
if [[ "${{ contains(github.event.head_commit.message, matrix.docker-platform-cpu) }}" == "true" ]]; then
echo "::info::Saving docker image $extra_tag"
docker save -o "tmp/${extra_tag}.tar" $extra_tag
echo "image-tarball=tmp/${extra_tag}.tar" >> $GITHUB_OUTPUT
# fi
fi
- name: Upload Docker image tarball
if: ${{ steps.buildx.outputs.image-tarball != '' }}
Expand Down

0 comments on commit 55b4111

Please sign in to comment.