mirror of https://github.com/1N3/Sn1per.git
test build and push
This commit is contained in:
parent
6c1f0aec25
commit
95fd7982fc
|
|
@ -15,7 +15,7 @@ on:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: ghcr.io
|
REGISTRY: ghcr.io
|
||||||
IMAGE_NAME: ${{ github.repository }}
|
IMAGE_NAME: ${{ github.repository | lower }} # Convert repository name to lowercase
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy-docker-hello-world:
|
deploy-docker-hello-world:
|
||||||
|
|
@ -47,5 +47,5 @@ jobs:
|
||||||
context: .
|
context: .
|
||||||
file: Dockerfile.base
|
file: Dockerfile.base
|
||||||
push: ${{ github.ref_type == 'tag' || github.ref_name == 'main' || startsWith(github.ref_name, 'feat-')}}
|
push: ${{ github.ref_type == 'tag' || github.ref_name == 'main' || startsWith(github.ref_name, 'feat-')}}
|
||||||
tags: ${{ steps.meta.outputs.tags | lower }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue