Skip to content

Commit 55b4111

Browse files
committed
[linux/arm64] Try fix upload container via commit
1 parent bf4b4cf commit 55b4111

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ jobs:
7272
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"
7373
bundle exec rake build:${PLATFORM} RCD_DOCKER_BUILD="$docker_build"
7474
75-
# if [[ "$(git log -1 --pretty=format:"%s")" =~ *"${{ matrix.docker-platform-cpu }}"* ]]; then
75+
if [[ "${{ contains(github.event.head_commit.message, matrix.docker-platform-cpu) }}" == "true" ]]; then
7676
echo "::info::Saving docker image $extra_tag"
7777
docker save -o "tmp/${extra_tag}.tar" $extra_tag
7878
echo "image-tarball=tmp/${extra_tag}.tar" >> $GITHUB_OUTPUT
79-
# fi
79+
fi
8080
8181
- name: Upload Docker image tarball
8282
if: ${{ steps.buildx.outputs.image-tarball != '' }}

0 commit comments

Comments
 (0)