From 746847072df602030c0ff2d34f04b710752854b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Theodor=20Angerg=C3=A5rd?= Date: Fri, 26 Jan 2024 20:57:51 +0100 Subject: [PATCH] . --- .github/workflows/gradle.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 3db2fb663..d2fc3a120 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -24,7 +24,7 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Login to GitHub Container Registry - if: ${{ github.ref == 'refs/heads/main' }} + if: ${{ github.ref == 'refs/heads/dev' }} uses: docker/login-action@v2 with: registry: ghcr.io @@ -34,8 +34,8 @@ jobs: - name: Docker Build-Tag-Push my-app run: | ./gradlew bootBuildImage - docker tag my-app:1.0.0-SNAPSHOT ${{ secrets.DOCKERHUB_USERNAME }}/my-app:latest - docker push ${{ secrets.DOCKERHUB_USERNAME }}/my-app:latest + docker tag gamma:1.0.0-SNAPSHOT ghcr.io/cthit/gamma:latest + docker push ghcr.io/cthit/gamma:latest working-directory: ./app - name: Cleanup Gradle Cache