fix syntax error, add test branch
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
29d7257a41
commit
4be2948afc
|
@ -5,6 +5,7 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
- registry-pushes
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# Required to make some things output color
|
# Required to make some things output color
|
||||||
|
@ -128,11 +129,11 @@ jobs:
|
||||||
path: target/debian/*.deb
|
path: target/debian/*.deb
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Extract metadata for Docker
|
- name: Extract metadata for Dockerhub
|
||||||
env:
|
env:
|
||||||
REGISTRY: registry.hub.docker.com
|
REGISTRY: registry.hub.docker.com
|
||||||
IMAGE_NAME: ${{ github.repository }}
|
IMAGE_NAME: ${{ github.repository }}
|
||||||
id: meta
|
id: meta-dockerhub
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
|
@ -141,7 +142,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
REGISTRY: ghcr.io
|
REGISTRY: ghcr.io
|
||||||
IMAGE_NAME: ${{ github.repository }}
|
IMAGE_NAME: ${{ github.repository }}
|
||||||
id: meta
|
id: meta-ghcr
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
|
|
Loading…
Reference in New Issue