Skip to content

Commit

Permalink
build image in dir
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-korotya committed Aug 8, 2024
1 parent cc6b148 commit 994d355
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publis-container-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: driver-did-iden3

- uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -71,6 +73,7 @@ jobs:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: ${{ env.ECR_REPOSITORY }}
run: |
cd driver-did-iden3 && \
docker buildx build --push \
--platform linux/amd64,linux/arm64 \
-t ${{ env.ECR_REGISTRY }}/${{ env.ECR_REPOSITORY }}:${{ github.ref_name }} \
3 changes: 3 additions & 0 deletions .github/workflows/push-container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
steps:
- name: Checkout driver-did-iden3
uses: actions/checkout@v3
with:
path: driver-did-iden3

- name: Login to GitHub Container Registry
uses: docker/login-action@v1
Expand Down Expand Up @@ -50,6 +52,7 @@ jobs:

- name: build and deploy to DockerHub
run: |
cd driver-did-iden3 && \
docker buildx build --push \
--platform linux/amd64,linux/arm64 \
-t ghcr.io/iden3/driver-did-iden3:${{ github.ref_name }} \
Expand Down

0 comments on commit 994d355

Please sign in to comment.