From acd0782ba7ceac78f200ec15bbe1fb1618ee141a Mon Sep 17 00:00:00 2001 From: sthope Date: Tue, 18 Mar 2025 20:45:31 +0100 Subject: [PATCH] first commit --- .gitea/workflows/build.yml | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index bc57f59..47a01ec 100755 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -32,28 +32,9 @@ jobs: username: ${{ secrets.DOCKER_USER }} password: ${{ secrets.DOCKER_PASS }} - - name: Debug Print Repository Information - run: | - echo "Repository: ${{ github.repository }}" # Print the full repository name (owner/repo) - echo "IMAGE (parsed from repo): ${{ env.IMAGE }}" # Print the value of IMAGE (expected to be full repo name) - - - name: Docker.io repository name - if: ${{ env.REGISTRY == 'docker.io' }} - id: repo_name - run: | - echo "IMAGE_NAME=${{ env.USER }}/${{ env.IMAGE }}:${{ env.RELEASE }}" >> $GITHUB_ENV - echo "IMAGE_NAME: ${{ env.IMAGE_NAME }}" # Debugging output - - - name: Github repository name - if: ${{ env.REGISTRY == 'ghcr.io' }} - id: repo_name - run: | - echo "IMAGE_NAME=${{ env.REGISTRY }}/${{ env.USER }}/${{ env.IMAGE }}:${{ env.RELEASE }}" >> $GITHUB_ENV - echo "IMAGE_NAME: ${{ env.IMAGE_NAME }}" # Debugging output - - name: Build and push uses: docker/build-push-action@v6 with: - file: Dockerfile + file: ./Dockerfile push: true - tags: ${{ env.IMAGE_NAME }} + tags: sthopeless/gitea-actions-repos-compare:latest