Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Portals committed Jan 26, 2024
1 parent 950f53d commit 7468470
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 7468470

Please sign in to comment.