Update CI
This commit is contained in:
parent
526c936a14
commit
08c65691f8
6
.github/workflows/build-and-publish.yml
vendored
6
.github/workflows/build-and-publish.yml
vendored
@ -1,8 +1,8 @@
|
|||||||
name: Build and Publish
|
name: Build and Publish
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: ghcr.io
|
GITHUB_REPOSITORY_OWNER: ${{ github.repository_owner }}
|
||||||
IMAGE_NAME: ${{ github.repository }}/api
|
GITHUB_SHA: ${{ github.sha }}
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -37,5 +37,5 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: ghcr.io/${{ GITHUB_REPOSITORY_OWNER }}/api:${{ GITHUB_SHA }}
|
tags: ghcr.io/${{ env.GITHUB_REPOSITORY_OWNER }}/api:${{ env.GITHUB_SHA }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user