Skip to content

Commit

Permalink
changes to ci-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pavankad committed Aug 17, 2024
1 parent 466b810 commit e56b3d0
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ on:
- '**'

env:
REGISTRY: ${{ vars.CONTAINER_REGISTRY }}
CONTAINER_REGISTRY: ${{ vars.CONTAINER_REGISTRY }}
CONTAINER_REGISTRY_USERNAME: ${{ secrets.CONTAINER_REGISTRY_USERNAME }}
CONTAINER_REGISTRY_PASSWORD: ${{ secrets.CONTAINER_REGISTRY_ACCESS_TOKEN }}

jobs:
build-and-test-image:
Expand Down Expand Up @@ -81,6 +83,13 @@ jobs:

- name: Build contract ledger client library
run: cd ${{ github.workspace }}/external/contract-ledger/pyscitt && python3 setup.py bdist_wheel

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ${{ vars.CONTAINER_REGISTRY }}
username: ${{ secrets.CONTAINER_REGISTRY_USERNAME }}
password: ${{ secrets.CONTAINER_REGISTRY_ACCESS_TOKEN }}

- name: Build container images
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
Expand Down

0 comments on commit e56b3d0

Please sign in to comment.