ci: remove push redundant calls
This commit is contained in:
parent
e96e611d43
commit
d3cb29cfbb
1 changed files with 7 additions and 6 deletions
|
@ -33,12 +33,13 @@ jobs:
|
||||||
- name: Push tagged images to registry
|
- name: Push tagged images to registry
|
||||||
if: ${{ github.event_name == 'push' }}
|
if: ${{ github.event_name == 'push' }}
|
||||||
run: |
|
run: |
|
||||||
podman push localhost/sesame/caddy:latest ${{ vars.REGISTRY_ENDPOINT }}/sesame/caddy:latest
|
for image in $(podman image ls --format {{.Repository }} | grep localhost/sesame)
|
||||||
podman push localhost/sesame/caddy:latest ${{ vars.REGISTRY_ENDPOINT }}/sesame/caddy:${{ steps.image-metadata.outputs.image-tag }}
|
do
|
||||||
podman push localhost/sesame/caddy:latest ${{ vars.REGISTRY_ENDPOINT }}/sesame/caddy:${{ github.ref_name }}
|
for tag in latest "${{ steps.image-metadata.outputs.image-tag }}" "${{ github.ref_name }}"
|
||||||
podman push localhost/sesame/promtail:latest ${{ vars.REGISTRY_ENDPOINT }}/sesame/promtail:latest
|
do
|
||||||
podman push localhost/sesame/promtail:latest ${{ vars.REGISTRY_ENDPOINT }}/sesame/promtail:${{ steps.image-metadata.outputs.image-tag }}
|
podman push "$image:latest" "${{ vars.REGISTRY_ENDPOINT }}/$image:$tag"
|
||||||
podman push localhost/sesame/promtail:latest ${{ vars.REGISTRY_ENDPOINT }}/sesame/promtail:${{ github.ref_name }}
|
done
|
||||||
|
done
|
||||||
post-run:
|
post-run:
|
||||||
runs-on: imagefactory-latest
|
runs-on: imagefactory-latest
|
||||||
needs: [build]
|
needs: [build]
|
||||||
|
|
Loading…
Reference in a new issue