Skip to content

Commit

Permalink
ci test to build containers
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick St-Louis <patrick.st-louis@idlab.org>
  • Loading branch information
PatStLouis committed Dec 14, 2023
1 parent 77facfd commit 61e9c6a
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build-backchannels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: build

on:
push:
branches:
- "DTT-*"
- "main"

env:
BASE_IMAGE_REPO: ${{ secrets.DOCKERHUB_USERNAME }}
TAG: latest

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Docker Login
run: |
docker login \
-u ${{ secrets.DOCKERHUB_USERNAME }} \
-p ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker Build
run: |
docker build -f acapy/Dockerfile.acapy-main ./aries-backchannels --tag ${{ BASE_IMAGE_REPO }}/aath-backchannel-acapy
docker build -f mobile/Dockerfile.mobile ./aries-backchannels --tag ${{ BASE_IMAGE_REPO }}/aath-backchannel-mobile
- name: Docker Push
run: |
docker push ${{ BASE_IMAGE_REPO }}/aath-backchannel-acapy
docker push ${{ BASE_IMAGE_REPO }}/aath-backchannel-mobile

0 comments on commit 61e9c6a

Please sign in to comment.