Skip to content

Commit

Permalink
fix: push release tags for all docker images in sc4s (#2251)
Browse files Browse the repository at this point in the history
  • Loading branch information
ikheifets-splunk committed Oct 24, 2023
1 parent dbc7fe8 commit bb7e3ec
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/cd-ghcr.io.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
container: [container3, container3lite]
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -49,7 +53,7 @@ jobs:
id: docker_action_meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/${{ github.repository }}/container3
images: ghcr.io/${{ github.repository }}/${{ matrix.container }}
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}
Expand All @@ -63,6 +67,6 @@ jobs:
name: Pull Container
run: |
VERSION=$(cat package/etc/VERSION)
for line in $CONTAINER_SOURCE_TAGS; do echo working on "$line"; /tmp/regctl image copy ghcr.io/${{ github.repository }}/container3:$VERSION $line; done
for line in $CONTAINER_SOURCE_TAGS; do echo working on "$line"; /tmp/regctl image copy ghcr.io/${{ github.repository }}/${{ matrix.container }}:$VERSION $line; done
env:
CONTAINER_SOURCE_TAGS: ${{ steps.docker_action_meta.outputs.tags }}

0 comments on commit bb7e3ec

Please sign in to comment.