Skip to content

Commit

Permalink
Update alpine-mainline.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alessfg committed Mar 13, 2024
1 parent 4eaa394 commit 51df987
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/alpine-mainline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ jobs:
type=raw,value=mainline-alpine${{ needs.version.outputs.distro }}-slim-test
type=raw,value=alpine-slim-test
type=raw,value=alpine${{ needs.version.outputs.distro }}-slim-test
env:
DOCKER_METADATA_ANNOTATIONS_LEVELS: index

- name: Login to Docker Hub
# if: ${{ github.event_name != 'pull_request' }}
Expand All @@ -195,7 +197,7 @@ jobs:
set -x
annotations=$(jq -cr '.annotations | map((split("=")[0] + "=\"" + split("=")[1] + "\"") | "--annotation " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON")
tags=$(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON")
docker buildx imagetools create $annotations $tags $(printf 'ghcr.io/nginxinc/nginx-unprivileged@sha256:%s ' *)
eval "docker buildx imagetools create $annotations $tags $(printf 'ghcr.io/nginxinc/nginx-unprivileged@sha256:%s ' *)"
- name: Inspect image
run: |
Expand Down

0 comments on commit 51df987

Please sign in to comment.