From 61d9cfb7cc7af8a3b4c13b70cd9ec3bb67f371ee Mon Sep 17 00:00:00 2001 From: Guillermo Perez Date: Mon, 11 Dec 2023 14:41:47 +0100 Subject: [PATCH] test updating release --- .github/workflows/build-docker.yml | 34 ++++++++++++++++-------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index 3488ab30e5..d3317a0b8a 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -21,6 +21,8 @@ jobs: matrix: target: [ release, test ] runs-on: ubuntu-latest-8-cores + permissions: + contents: write steps: - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac #v4 with: @@ -54,22 +56,22 @@ jobs: core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || ''); core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || ''); - - name: Build and push centrifugeio/centrifuge-chain - uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 #v5 - with: - context: . - file: ./docker/centrifuge-chain/Dockerfile - build-args: | - FEATURES=${{ matrix.target == 'test' && 'fast-runtime' || '' }} - push: ${{ github.event_name != 'pull_request' }} - tags: ${{ steps.meta.outputs.tags }} - # Cache options: - # https://docs.docker.com/build/ci/github-actions/cache/ - cache-from: type=gha - # cache-from: type=registry,ref=centrifugeio/centrifuge-chain:${{ github.ref }} - # https://docs.docker.com/build/cache/backends/inline/ - cache-to: type=gha, mode=max - # cache-to: type=registry,ref=centrifugeio/centrifuge-chain:${{ github.ref }}, mode=max + # - name: Build and push centrifugeio/centrifuge-chain + # uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 #v5 + # with: + # context: . + # file: ./docker/centrifuge-chain/Dockerfile + # build-args: | + # FEATURES=${{ matrix.target == 'test' && 'fast-runtime' || '' }} + # push: ${{ github.event_name != 'pull_request' }} + # tags: ${{ steps.meta.outputs.tags }} + # # Cache options: + # # https://docs.docker.com/build/ci/github-actions/cache/ + # cache-from: type=gha + # # cache-from: type=registry,ref=centrifugeio/centrifuge-chain:${{ github.ref }} + # # https://docs.docker.com/build/cache/backends/inline/ + # cache-to: type=gha, mode=max + # # cache-to: type=registry,ref=centrifugeio/centrifuge-chain:${{ github.ref }}, mode=max - name: Update DockerHub descriptions if: contains(github.ref, 'refs/tags/release-v')