From c227caecdb4894a5fa6c821000bc72ef3faa40b5 Mon Sep 17 00:00:00 2001 From: Vlad Vesa Date: Sun, 14 Apr 2024 10:18:05 +0300 Subject: [PATCH] Enable gradle push of containers --- .github/workflows/gradle.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index e1c97f0ac..9a41347bd 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -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 @@ -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: |