embed version
This commit is contained in:
parent
e7607d78af
commit
068b5fe5e9
|
@ -11,7 +11,22 @@ jobs:
|
||||||
docker:
|
docker:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Determine tag type
|
-
|
||||||
|
name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
-
|
||||||
|
name: Find Git Tag
|
||||||
|
id: tagger
|
||||||
|
uses: jimschubert/query-tag-action@v1
|
||||||
|
with:
|
||||||
|
include: 'v*'
|
||||||
|
exclude: '*-rc*'
|
||||||
|
commit-ish: 'HEAD~'
|
||||||
|
skip-unshallow: 'true'
|
||||||
|
-
|
||||||
|
name: Determine image tag type
|
||||||
uses: haya14busa/action-cond@v1
|
uses: haya14busa/action-cond@v1
|
||||||
id: imgtag
|
id: imgtag
|
||||||
with:
|
with:
|
||||||
|
@ -38,3 +53,5 @@ jobs:
|
||||||
platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v7
|
platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v7
|
||||||
push: true
|
push: true
|
||||||
tags: ${{secrets.DOCKERHUB_USERNAME}}/dumbproxy:${{ steps.imgtag.outputs.value }}
|
tags: ${{secrets.DOCKERHUB_USERNAME}}/dumbproxy:${{ steps.imgtag.outputs.value }}
|
||||||
|
build-args:
|
||||||
|
- 'GIT_DESC=${{steps.tagger.outputs.tag}}'
|
||||||
|
|
Loading…
Reference in New Issue