chore: fix docker build push yml
This commit is contained in:
parent
d4f419edf1
commit
85beedc5c7
1 changed files with 13 additions and 13 deletions
26
.github/workflows/docker_build_push.yml
vendored
26
.github/workflows/docker_build_push.yml
vendored
|
|
@ -119,19 +119,19 @@ jobs:
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Nightly build test on amd64 for pull requests
|
# - name: Nightly build test on amd64 for pull requests
|
||||||
if: ${{ github.event_name == 'pull_request' }}
|
# if: ${{ github.event_name == 'pull_request' }}
|
||||||
uses: docker/build-push-action@v5
|
# uses: docker/build-push-action@v5
|
||||||
with:
|
# with:
|
||||||
context: .
|
# context: .
|
||||||
build-args: ${{ matrix.build-args }}
|
# build-args: ${{ matrix.build-args }}
|
||||||
push: false
|
# push: false
|
||||||
build-contexts: ${{ matrix.build-contexts }}
|
# build-contexts: ${{ matrix.build-contexts }}
|
||||||
file: ${{ matrix.dockerfile }}
|
# file: ${{ matrix.dockerfile }}
|
||||||
cache-from: type=gha,scope=rpxy-nightly-${{ matrix.target }}
|
# cache-from: type=gha,scope=rpxy-nightly-${{ matrix.target }}
|
||||||
cache-to: type=gha,mode=max,scope=rpxy-nightly-${{ matrix.target }}
|
# cache-to: type=gha,mode=max,scope=rpxy-nightly-${{ matrix.target }}
|
||||||
platforms: linux/amd64
|
# platforms: linux/amd64
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
# labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|
||||||
- name: Nightly build and push from develop branch
|
- name: Nightly build and push from develop branch
|
||||||
if: ${{ (github.ref_name == 'develop') && (github.event_name == 'push') }}
|
if: ${{ (github.ref_name == 'develop') && (github.event_name == 'push') }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue