Skip to content

Commit

Permalink
Enable gradle push of containers
Browse files Browse the repository at this point in the history
  • Loading branch information
vesavlad committed Apr 14, 2024
1 parent 6d74860 commit c227cae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
run: gradle clean build

container-image:
if: github.repository_owner == 'opentransportro' && github.event_name == 'push' && (github.ref == 'refs/heads/main')
if: github.repository_owner == 'opentransportro' && github.event_name == 'push' && (github.ref == 'refs/heads/v3-gradle')
runs-on: ubuntu-latest
needs:
- build
Expand All @@ -57,7 +57,7 @@ jobs:

- name: Build container image with Jib, push to Dockerhub
env:
CONTAINER_REPO: docker.io/otrro/transitclock-server
CONTAINER_REPO: docker.io/otrro/transitclock-server-v3
CONTAINER_REGISTRY_USER: ${{secrets.DOCKER_USER}}
CONTAINER_REGISTRY_PASSWORD: ${{ secrets.DOCKER_AUTH }}
run: |
Expand Down

0 comments on commit c227cae

Please sign in to comment.