From a3db3097f7be2f8d06fd2e6d10f3e7eafda8bf33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Artur=20Bory=C5=9B?= Date: Fri, 2 Aug 2024 19:39:21 +0200 Subject: [PATCH] GitHub actions test --- .github/workflows/build-and-release.yaml | 20 +++++++++++--------- .github/workflows/build-and-scan.yaml | 3 ++- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-and-release.yaml b/.github/workflows/build-and-release.yaml index 7f02186..46fa203 100644 --- a/.github/workflows/build-and-release.yaml +++ b/.github/workflows/build-and-release.yaml @@ -9,6 +9,7 @@ on: push: branches: - master + - jenkins env: REGISTRY_USER: aborys @@ -26,7 +27,8 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - name: Checkout repository + uses: actions/checkout@v4 - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -41,11 +43,11 @@ jobs: ./Containerfile.${{ matrix.flavor }} platforms: linux/amd64, linux/arm64 - - name: Push ${{ matrix.flavor }} image to docker.io - uses: redhat-actions/push-to-registry@v2 - with: - image: podman-builder - tags: latest-${{ matrix.flavor }} ${{ github.sha }}-${{ matrix.flavor }} ${{ startsWith(github.ref, 'refs/tags') && format('{0}-{1}', github.ref_name, matrix.flavor) || '' }} - registry: aborys - username: ${{ env.REGISTRY_USER }} - password: ${{ env.REGISTRY_PASSWORD }} + # - name: Push ${{ matrix.flavor }} image to docker.io + # uses: redhat-actions/push-to-registry@v2 + # with: + # image: podman-builder + # tags: latest-${{ matrix.flavor }} ${{ github.sha }}-${{ matrix.flavor }} ${{ startsWith(github.ref, 'refs/tags') && format('{0}-{1}', github.ref_name, matrix.flavor) || '' }} + # registry: aborys + # username: ${{ env.REGISTRY_USER }} + # password: ${{ env.REGISTRY_PASSWORD }} diff --git a/.github/workflows/build-and-scan.yaml b/.github/workflows/build-and-scan.yaml index b5dc914..107fa5c 100644 --- a/.github/workflows/build-and-scan.yaml +++ b/.github/workflows/build-and-scan.yaml @@ -19,7 +19,8 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - name: Checkout repository + uses: actions/checkout@v4 - name: Set up QEMU uses: docker/setup-qemu-action@v3