Skip to content

Fix images/favicons for newsletters (cells) #3

Fix images/favicons for newsletters (cells)

Fix images/favicons for newsletters (cells) #3

---

Check failure on line 1 in .github/workflows/reusable_copy-images.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/reusable_copy-images.yaml

Invalid workflow file

(Line: 16, Col: 9): Required property is missing: type, (Line: 19, Col: 9): Required property is missing: type
name: Reusable Copy Images
on:
workflow_dispatch:
inputs:
sourceURI:
description: 'Source image and tag. Example: "https://quay.io/repository/puzzle/centos-apache-modsecurity?tab=tags&tag=crs-v3.3.2-waf2"'
required: true
targetImage:
description: 'Target image and tag. Example: "stbi-waf:crs-v3.3.2-waf2'
required: true
workflow_call:
inputs:
sourceURI:
description: 'Source image and tag. Example: "https://quay.io/repository/puzzle/centos-apache-modsecurity?tab=tags&tag=crs-v3.3.2-waf2"'
required: true
targetImage:
description: 'Target image and tag. Example: "stbi-waf:crs-v3.3.2-waf2'
required: true
jobs:
push-image:
runs-on: ubuntu-latest
steps:
- name: Login Quay
uses: docker/login-action@v1
with:
registry: 'quay.io'
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_TOKEN }}
- name: Login Puzzle Registry
uses: docker/login-action@v1
with:
registry: registry.puzzle.ch
username: ${{ secrets.PUZZLE_REGISTRY_USERNAME }}
password: ${{ secrets.PUZZLE_REGISTRY_TOKEN }}
- name: Push image
uses: akhilerm/tag-push-action@v2.0.0
with:
src: ${{ github.event.inputs.sourceURI }}
dst: registry.puzzle.ch/decidim/${{ github.event.inputs.targetImage }}
...