diff --git a/.github/workflows/k8s-quarkus-sync.yml b/.github/workflows/k8s-quarkus-sync.yml index 57a24b1..2606f97 100644 --- a/.github/workflows/k8s-quarkus-sync.yml +++ b/.github/workflows/k8s-quarkus-sync.yml @@ -36,16 +36,23 @@ jobs: - name: build container run: ./gradlew build -x test -Dquarkus.container-image.build=true - # - name: Login to GitHub Container Registry - # uses: docker/login-action@v2 - # with: - # registry: ghcr.io - # username: ${{ github.actor }} - # password: ${{ secrets.GITHUB_TOKEN }} - # logout: true +# - name: Login to GitHub Container Registry +# uses: docker/login-action@v2 +# with: +# registry: ghcr.io +# username: ${{ github.actor }} +# password: ${{ secrets.GITHUB_TOKEN }} +# logout: true - name: push container - run: ./gradlew build -x test -Dquarkus.container-image.push=true -Dquarkus.container-image.group=${{ github.repository_owner }} -Dquarkus.container-image.name=${{ github.event.repository.name }} -Dquarkus.container-image.registry=ghcr.io -Dquarkus.container-image.additional-tags=${{ github.sha }} -Dquarkus.container-image.username=${{ github.actor }} -Dquarkus.container-image.password=${{ secrets.GITHUB_TOKEN }} + run: | + ./gradlew build -x test -Dquarkus.container-image.push=true \ + -Dquarkus.container-image.group=${{ github.repository_owner }} \ + -Dquarkus.container-image.name=${{ github.event.repository.name }} \ + -Dquarkus.container-image.registry=ghcr.io \ + -Dquarkus.container-image.additional-tags=${{ github.sha }} \ + -Dquarkus.container-image.username=${{ github.actor }} \ + -Dquarkus.container-image.password=${{ secrets.GITHUB_TOKEN }}