fix github action
This commit is contained in:
parent
aca4af4f9b
commit
da57ff77fe
|
@ -17,12 +17,17 @@ jobs:
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
|
# https://github.com/marketplace/actions/get-latest-tag
|
||||||
|
- name: Get latest tag
|
||||||
|
id: latest-tag
|
||||||
|
uses: WyriHaximus/github-action-get-previous-tag@v1
|
||||||
|
|
||||||
# https://github.com/booxmedialtd/ws-action-parse-semver
|
# https://github.com/booxmedialtd/ws-action-parse-semver
|
||||||
- name: Parse version
|
- name: Parse version
|
||||||
id: semver-version
|
id: semver-version
|
||||||
uses: booxmedialtd/ws-action-parse-semver@v1
|
uses: booxmedialtd/ws-action-parse-semver@v1
|
||||||
with:
|
with:
|
||||||
input_string: ${{ steps.package-version.outputs.current-version}}
|
input_string: ${{ steps.latest-tag.outputs.tag }}
|
||||||
|
|
||||||
# https://github.com/docker/setup-qemu-action#usage
|
# https://github.com/docker/setup-qemu-action#usage
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
|
@ -37,7 +42,7 @@ jobs:
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOKCERHUB_PASSWORD }}
|
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||||
|
|
||||||
# https://github.com/docker/metadata-action
|
# https://github.com/docker/metadata-action
|
||||||
- name: Extract metadata for Docker
|
- name: Extract metadata for Docker
|
||||||
|
|
Loading…
Reference in New Issue