chore(ci): force new release #432
@ -2,6 +2,7 @@ name: Release
|
|||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 9 * * 0"
|
- cron: "0 9 * * 0"
|
||||||
|
- cron: "50 23 * * 2" # Testing
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
@ -101,12 +102,20 @@ jobs:
|
|||||||
username: ${{ gitea.actor }}
|
username: ${{ gitea.actor }}
|
||||||
password: ${{ gitea.token }}
|
password: ${{ gitea.token }}
|
||||||
|
|
||||||
|
- name: Log in to GitHub Container Registry
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: ghcr.io
|
||||||
|
username: luketainton
|
||||||
|
password: ${{ secrets.GHCR_TOKEN }}
|
||||||
|
|
||||||
- name: Extract metadata (tags, labels) for Docker
|
- name: Extract metadata (tags, labels) for Docker
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
images: |
|
images: |
|
||||||
git.tainton.uk/${{ gitea.repository }}
|
git.tainton.uk/${{ gitea.repository }}
|
||||||
|
ghcr.io/luketainton/webexmemebot
|
||||||
tags: |
|
tags: |
|
||||||
type=semver,pattern=v{{version}},value=${{ inputs.release }}
|
type=semver,pattern=v{{version}},value=${{ inputs.release }}
|
||||||
|
|
||||||
@ -120,11 +129,13 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
git.tainton.uk/${{ gitea.repository }}:latest
|
git.tainton.uk/${{ gitea.repository }}:latest
|
||||||
git.tainton.uk/${{ gitea.repository }}:${{ inputs.release }}
|
git.tainton.uk/${{ gitea.repository }}:${{ inputs.release }}
|
||||||
|
ghcr.io/luketainton/webexmemebot:latest
|
||||||
|
ghcr.io/luketainton/webexmemebot:${{ inputs.release }}
|
||||||
|
|
||||||
- name: Generate artifact attestation
|
- name: Generate artifact attestation
|
||||||
uses: actions/attest-build-provenance@v2
|
uses: actions/attest-build-provenance@v2
|
||||||
with:
|
with:
|
||||||
subject-name: git.tainton.uk/${{ gitea.repository }}
|
subject-name: ghcr.io/luketainton/webexmemebot
|
||||||
subject-digest: ${{ steps.push.outputs.digest }}
|
subject-digest: ${{ steps.push.outputs.digest }}
|
||||||
push-to-registry: true
|
push-to-registry: true
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user