🚀 docker action
This commit is contained in:
parent
a884c4b0bf
commit
045e2fa139
2
.github/workflows/private-docker.yml
vendored
2
.github/workflows/private-docker.yml
vendored
@ -4,6 +4,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- private
|
- private
|
||||||
|
- new
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# github.repository as <account>/<repo>
|
# github.repository as <account>/<repo>
|
||||||
@ -43,6 +44,7 @@ jobs:
|
|||||||
# generate Docker tags based on the following events/attributes
|
# generate Docker tags based on the following events/attributes
|
||||||
tags: |
|
tags: |
|
||||||
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/private' }}
|
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/private' }}
|
||||||
|
type=raw,value=new,enable=${{ github.ref == 'refs/heads/new' }}
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
|
Loading…
Reference in New Issue
Block a user