From 6373c9e832c5c049ea10f663bfa3a75ca20001a6 Mon Sep 17 00:00:00 2001 From: Niklas Siemer <70580458+niklassiemer@users.noreply.github.com> Date: Mon, 17 Mar 2025 13:09:36 +0100 Subject: [PATCH] Move tag creation to release step --- .github/workflows/push.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 94a0f209..0b511cda 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -14,12 +14,6 @@ jobs: - name: Get current date id: date run: echo "date=$(date +%F)" >> $GITHUB_OUTPUT - - uses: rickstaa/action-create-tag@v1 - id: "tag_create" - with: - tag: ${{ steps.date.outputs.date }} - tag_exists_error: false - message: "" - name: Login to DockerHub Registry run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin - name: Build pyiron/base @@ -111,6 +105,12 @@ jobs: - name: Get current date id: date run: echo "date=$(date +%F)" >> $GITHUB_OUTPUT + - uses: rickstaa/action-create-tag@v1 + id: "tag_create" + with: + tag: ${{ steps.date.outputs.date }} + tag_exists_error: false + message: "" - name: cache_cmti uses: actions/cache/restore@v4 with: