From ad84a59f597de36e1cf4571debd6e0ed7496a57c Mon Sep 17 00:00:00 2001 From: dogi Date: Tue, 26 Sep 2023 00:57:22 -0400 Subject: [PATCH] Update alpine.yml --- .github/workflows/alpine.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/alpine.yml b/.github/workflows/alpine.yml index 5e47cbe..a03d10c 100644 --- a/.github/workflows/alpine.yml +++ b/.github/workflows/alpine.yml @@ -124,15 +124,16 @@ jobs: - name: create manifests id: message run: | - repo=$name + export DOCKER_CLI_EXPERIMENTAL=enabled + tags="$name-tags" date="$(date +%Y%m%d%H%M)" - docker manifest create $repo:latest $repo-tags:amd64 $repo-tags:arm $repo-tags:arm64 - docker manifest create $repo:$date $repo-tags:amd64 $repo-tags:arm $repo-tags:arm64 - docker manifest annotate $repo:latest $repo-tags:arm --os linux --arch arm - docker manifest annotate $repo:$date $repo-tags:arm --os linux --arch arm - docker manifest inspect $repo:latest - docker manifest push $repo:latest - docker manifest push $repo:$date + docker manifest create $name:latest $tags:amd64 $tags:arm $tags:arm64 + docker manifest create $name:$date $tags:amd64 $tags:arm $tags:arm64 + docker manifest annotate $name:latest $tags:arm --os linux --arch arm + docker manifest annotate $name:$date $tags:arm --os linux --arch arm + docker manifest inspect $name:latest + docker manifest push $name:latest + docker manifest push $name:$date echo "message=true" >> $GITHUB_OUTPUT message: