From b9abe7f2d53ae28ad4ed0fcf82a40ce89bf71de1 Mon Sep 17 00:00:00 2001 From: Andreas Eberle Date: Mon, 29 Jan 2024 17:06:09 +0100 Subject: [PATCH] Test multiline --- .github/workflows/k8s-quarkus-sync.yml | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) 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 }}