This commit is contained in:
parent
f556305be2
commit
4c5385268c
@ -15,12 +15,6 @@ jobs:
|
|||||||
image: catthehacker/ubuntu:act-latest
|
image: catthehacker/ubuntu:act-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Golang
|
|
||||||
uses: actions/setup-go@v3
|
|
||||||
with:
|
|
||||||
go-version: '>=1.21.0'
|
|
||||||
cache: false
|
|
||||||
|
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
@ -32,7 +26,6 @@ jobs:
|
|||||||
flavor: |
|
flavor: |
|
||||||
latest=true
|
latest=true
|
||||||
tags: |
|
tags: |
|
||||||
type=ref,event=branch
|
|
||||||
type=raw,value={{date 'YYYYMMDD' tz='Asia/Shanghai'}}
|
type=raw,value={{date 'YYYYMMDD' tz='Asia/Shanghai'}}
|
||||||
|
|
||||||
- name: Print Tags
|
- name: Print Tags
|
||||||
@ -51,6 +44,7 @@ jobs:
|
|||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
|
no-cache: true
|
||||||
tags: ${{ steps.gen_tags.outputs.tags }}
|
tags: ${{ steps.gen_tags.outputs.tags }}
|
||||||
labels: ${{ steps.gen_tags.outputs.labels }}
|
labels: ${{ steps.gen_tags.outputs.labels }}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user