Skip to content

Commit

Permalink
test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
eumel8 committed Jan 21, 2024
1 parent 787e82e commit f42fe0b
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build Image
on: push
jobs:
docker:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -16,6 +16,7 @@ jobs:
tags: |
type=ref,event=branch
type=ref,event=pr
type=raw,value=latest
- name: Install Cosign
uses: sigstore/cosign-installer@main
with:
Expand Down Expand Up @@ -46,14 +47,17 @@ jobs:
mtr.devops.telekom.de/caas/entsoe:latest
ghcr.io/caas-team/entsoe:latest
${{ steps.meta.outputs.tags }}
sign:
needs: build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
tags: ${{ needs.build.steps.meta.outputs.tags }}
steps:
- uses: actions/checkout@v2
- name: Sign Push
run: |
cosign sign --key env://COSIGN_KEY --tlog-upload=false ${{ tag }}
with:
tag: mtr.devops.telekom.de/caas/entsoe:latest
tag: ghcr.io/caas-team/entsoe:latest
tag: |
${{ steps.meta.outputs.tags }}
cosign sign --key env://COSIGN_KEY --tlog-upload=false ${{ tags }}
env:
COSIGN_KEY: ${{secrets.COSIGN_KEY}}

0 comments on commit f42fe0b

Please sign in to comment.