diff --git a/.github/workflows/docker-hub-build-push-on-push.yml b/.github/workflows/on-push-main.yml similarity index 89% rename from .github/workflows/docker-hub-build-push-on-push.yml rename to .github/workflows/on-push-main.yml index a4794e1..c8fc520 100644 --- a/.github/workflows/docker-hub-build-push-on-push.yml +++ b/.github/workflows/on-push-main.yml @@ -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 diff --git a/.github/workflows/docker-hub-build-push-on-release.yml b/.github/workflows/on-release.yml similarity index 91% rename from .github/workflows/docker-hub-build-push-on-release.yml rename to .github/workflows/on-release.yml index af1300c..7ac1e27 100644 --- a/.github/workflows/docker-hub-build-push-on-release.yml +++ b/.github/workflows/on-release.yml @@ -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