Skip to content

Commit

Permalink
Update alpine.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dogi authored Sep 26, 2023
1 parent ad84a59 commit 642839f
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,17 @@ jobs:
export DOCKER_CLI_EXPERIMENTAL=enabled
tags="$name-tags"
date="$(date +%Y%m%d%H%M)"
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
#for compatilbity reasons
if [[ "${{ matrix.version }}" == "3.12" ]]; then
docker manifest create $name:latest $tags:amd64 $tags:arm $tags:arm64
docker manifest annotate $name:latest $tags:arm --os linux --arch arm
docker manifest inspect $name:latest
docker manifest push $name:latest
docker manifest create $name:$date $tags:amd64 $tags:arm $tags:arm64
docker manifest annotate $name:$date $tags:arm --os linux --arch arm
docker manifest inspect $name:$date
docker manifest push $name:$date
fi
echo "message=true" >> $GITHUB_OUTPUT
message:
Expand Down

0 comments on commit 642839f

Please sign in to comment.