From 0b09f2475463e782949dc9bbfdb42ba355f26b11 Mon Sep 17 00:00:00 2001 From: zemyblue Date: Wed, 19 Apr 2023 19:32:21 +0900 Subject: [PATCH] chore: test docker push (cherry picked from commit 3495d09de4d389c5c9f0730e85c5f9c50cfe0b42) --- .github/workflows/docker.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 930551b8be..49e46bcb67 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -4,10 +4,10 @@ on: branches: - main - rc*/* - push: - tags: - - "v[0-9]+.[0-9]+.[0-9]+" # Push events to matching v*, i.e. v1.0, v20.15.10 - - "v[0-9]+.[0-9]+.[0-9]+-rc*" # Push events to matching v*, i.e. v1.0-rc1, v20.15.10-rc5 +# push: +# tags: +# - "v[0-9]+.[0-9]+.[0-9]+" # Push events to matching v*, i.e. v1.0, v20.15.10 +# - "v[0-9]+.[0-9]+.[0-9]+-rc*" # Push events to matching v*, i.e. v1.0-rc1, v20.15.10-rc5 env: registry: docker.io repository: line/lbm-simapp @@ -20,7 +20,7 @@ jobs: fetch-depth: 0 - name: login to the registry uses: docker/login-action@v2 - if: github.event_name != 'pull_request' +# if: github.event_name != 'pull_request' with: registry: ${{env.registry}} username: ${{secrets.DOCKERHUB_USERNAME}} @@ -35,7 +35,7 @@ jobs: - name: docker build uses: docker/build-push-action@v4 with: - push: ${{github.event_name != 'pull_request'}} +# push: ${{github.event_name != 'pull_request'}} build-args: ARCH=x86_64 tags: ${{steps.meta.outputs.tags}} labels: ${{steps.meta.outputs.labels}}