diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index d927ded..3407ed3 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -2,7 +2,7 @@ # Build docker image # -name: Build +name: BuildMain run-name: ${{ gitea.actor }} running CI in the pipeline 🚀 on: [ push ] @@ -25,7 +25,7 @@ jobs: with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Build and (do not) push + - name: Build and push latest uses: docker/build-push-action@v5 env: ACTIONS_RUNTIME_TOKEN: '' diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index 233a338..1883cd7 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -2,7 +2,7 @@ # Build docker image # -name: Build +name: BuildTag run-name: ${{ gitea.actor }} running CI in the pipeline 🚀 on: push: @@ -14,7 +14,6 @@ jobs: env: RUNNER_TOOL_CACHE: /toolcache runs-on: cth-ubuntu-latest - if: gitea.ref == 'refs/heads/main' steps: - name: Check out repository code uses: actions/checkout@v3 @@ -28,7 +27,7 @@ jobs: with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Build and (do not) push + - name: Build and push version uses: docker/build-push-action@v5 env: ACTIONS_RUNTIME_TOKEN: ''