rename workflow and deprecate ::set-output.
This commit is contained in:
parent
6cd395e190
commit
88d068a452
2 changed files with 4 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
name: Build docker image and push to docker hub on push
|
name: On push to main
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|
@ -21,8 +21,7 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
RELEASE_VERSION="dev-$(date +%s)"
|
RELEASE_VERSION="dev-$(date +%s)"
|
||||||
echo "::set-output name=image_tag::${RELEASE_VERSION}"
|
echo "image_tag=${RELEASE_VERSION}" >> ${GITHUB_OUTPUT}
|
||||||
echo "Action image_tag=${RELEASE_VERSION}"
|
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v2
|
uses: docker/setup-qemu-action@v2
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
name: Build docker image and push to docker hub on release
|
name: On release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
|
|
@ -20,8 +20,7 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
RELEASE_VERSION=${GITHUB_REF#refs/*/}
|
RELEASE_VERSION=${GITHUB_REF#refs/*/}
|
||||||
echo "::set-output name=image_tag::${RELEASE_VERSION}"
|
echo "image_tag=${RELEASE_VERSION}" >> ${GITHUB_OUTPUT}
|
||||||
echo "Action image_tag=${RELEASE_VERSION}"
|
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v2
|
uses: docker/setup-qemu-action@v2
|
||||||
Loading…
Reference in a new issue