Skip to content

Commit

Permalink
Fix GitHub Actions context expansions
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlia authored and Lee, Suho committed Mar 2, 2022
1 parent aa1db27 commit ad51974
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/push_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ jobs:
docker pull $DOCKER_REPO:git-${{ github.sha }}-amd64
docker tag \
$DOCKER_REPO:git-${{ github.sha }}-amd64 \
$DOCKER_REPO:{{ github.ref_name }}-amd64
docker push $DOCKER_REPO:{{ github.ref_name }}-amd64
$DOCKER_REPO:${{ github.ref_name }}-amd64
docker push $DOCKER_REPO:${{ github.ref_name }}-amd64
docker pull $DOCKER_REPO:git-${{ github.sha }}-arm64v8
docker tag \
$DOCKER_REPO:git-${{ github.sha }}-arm64v8 \
$DOCKER_REPO:{{ github.ref_name }}-arm64v8
docker push $DOCKER_REPO:{{ github.ref_name }}-arm64v8
docker manifest create $DOCKER_REPO:{{ github.ref_name }} \
--amend $DOCKER_REPO:{{ github.ref_name }}-amd64 \
--amend $DOCKER_REPO:{{ github.ref_name }}-arm64v8
docker manifest push $DOCKER_REPO:{{ github.ref_name }}
$DOCKER_REPO:${{ github.ref_name }}-arm64v8
docker push $DOCKER_REPO:${{ github.ref_name }}-arm64v8
docker manifest create $DOCKER_REPO:${{ github.ref_name }} \
--amend $DOCKER_REPO:${{ github.ref_name }}-amd64 \
--amend $DOCKER_REPO:${{ github.ref_name }}-arm64v8
docker manifest push $DOCKER_REPO:${{ github.ref_name }}

0 comments on commit ad51974

Please sign in to comment.