Skip to content

Commit

Permalink
don't hardcode image organization or tag in build-container output
Browse files Browse the repository at this point in the history
  • Loading branch information
mwestphall committed Oct 22, 2024
1 parent d7b4fe4 commit 4a90b4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,10 @@ jobs:
env:
DEFAULT_OS: el9
run: |
BASE_IMG=${{ matrix.registry.url }}/opensciencegrid/osgvo-docker-pilot
DIGESTS=$(for digest in $(ls digests/); do echo $BASE_IMG@sha256:$digest; done)
TAGS=$(cat tags/*-amd64)
for tag in ${TAGS//,/ }; do
BASE_IMG=${tag/:*/}
DIGESTS=$(for digest in $(ls digests/); do echo $BASE_IMG@sha256:$digest; done)
docker buildx imagetools create --tag $tag $DIGESTS;
# Also tag the image for the default OS as the OS-less tag
Expand Down

0 comments on commit 4a90b4d

Please sign in to comment.