Skip to content

Commit

Permalink
test updating release
Browse files Browse the repository at this point in the history
  • Loading branch information
gpmayorga committed Dec 11, 2023
1 parent 1048539 commit 61d9cfb
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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')
Expand Down

0 comments on commit 61d9cfb

Please sign in to comment.