From ad51974329b81bce029dcfdfb7a1ceb2e05a4aac Mon Sep 17 00:00:00 2001 From: Hong Minhee Date: Tue, 22 Feb 2022 17:29:53 +0900 Subject: [PATCH] Fix GitHub Actions context expansions --- .github/workflows/push_docker_image.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/push_docker_image.yml b/.github/workflows/push_docker_image.yml index 56f7678d2..a8f186275 100644 --- a/.github/workflows/push_docker_image.yml +++ b/.github/workflows/push_docker_image.yml @@ -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 }}