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:
|
||||
push:
|
||||
|
|
@ -21,8 +21,7 @@ jobs:
|
|||
shell: bash
|
||||
run: |
|
||||
RELEASE_VERSION="dev-$(date +%s)"
|
||||
echo "::set-output name=image_tag::${RELEASE_VERSION}"
|
||||
echo "Action image_tag=${RELEASE_VERSION}"
|
||||
echo "image_tag=${RELEASE_VERSION}" >> ${GITHUB_OUTPUT}
|
||||
|
||||
- name: Set up QEMU
|
||||
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:
|
||||
release:
|
||||
|
|
@ -20,8 +20,7 @@ jobs:
|
|||
shell: bash
|
||||
run: |
|
||||
RELEASE_VERSION=${GITHUB_REF#refs/*/}
|
||||
echo "::set-output name=image_tag::${RELEASE_VERSION}"
|
||||
echo "Action image_tag=${RELEASE_VERSION}"
|
||||
echo "image_tag=${RELEASE_VERSION}" >> ${GITHUB_OUTPUT}
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
Loading…
Reference in a new issue