Skip to content

Commit

Permalink
Merge pull request #154 from kaleido-io/update-packages
Browse files Browse the repository at this point in the history
Update packages
  • Loading branch information
EnriqueL8 authored Sep 19, 2024
2 parents 01d5eae + 1a1b296 commit 7c86f7c
Show file tree
Hide file tree
Showing 3 changed files with 208 additions and 148 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/docker_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ name: Docker Main Build

on:
push:
branches:
- main
branches: [main]
pull_request:
branches: [main]

jobs:
docker:
Expand Down Expand Up @@ -32,14 +33,17 @@ jobs:
--tag ghcr.io/hyperledger/firefly-tokens-erc1155:${{ steps.build_tag_generator.outputs.BUILD_TAG }} .
- name: Tag release
if: github.event.pull_request.merged == true
run: docker tag ghcr.io/hyperledger/firefly-tokens-erc1155:${{ steps.build_tag_generator.outputs.BUILD_TAG }} ghcr.io/hyperledger/firefly-tokens-erc1155:head

- name: Push docker image
if: github.event.pull_request.merged == true
run: |
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
docker push ghcr.io/hyperledger/firefly-tokens-erc1155:${{ steps.build_tag_generator.outputs.BUILD_TAG }}
- name: Push head tag
if: github.event.pull_request.merged == true
run: |
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
docker push ghcr.io/hyperledger/firefly-tokens-erc1155:head
Loading

0 comments on commit 7c86f7c

Please sign in to comment.