Tag SHA on develop build
This commit is contained in:
parent
0583034ef9
commit
c923a6627c
@ -5,7 +5,7 @@ on:
|
||||
- 'develop'
|
||||
|
||||
env:
|
||||
FULL_TAG: git.mrmeeb.stream/mrmeeb/gitea-act-runner:develop
|
||||
FULL_TAG: git.mrmeeb.stream/mrmeeb/gitea-act-runner
|
||||
|
||||
jobs:
|
||||
"Build Image":
|
||||
@ -21,12 +21,20 @@ jobs:
|
||||
registry: git.mrmeeb.stream
|
||||
username: ${{ env.GITHUB_ACTOR }}
|
||||
password: ${{ secrets.GTCR_TOKEN }}
|
||||
- name: Docker metadata
|
||||
id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: ${{ env.FULL_TAG }}
|
||||
tags: |
|
||||
type=sha,prefix=develop-
|
||||
type=raw,value=develop
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
push: true
|
||||
platforms: linux/amd64,linux/arm64
|
||||
tags: ${{ env.FULL_TAG }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
provenance: false
|
||||
- name: Notify on failure
|
||||
uses: rjstone/discord-webhook-notify@v1
|
||||
|
Loading…
x
Reference in New Issue
Block a user