Skip to content

ci test to build containers #1

ci test to build containers

ci test to build containers #1

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: |

Check failure on line 25 in .github/workflows/build-backchannels.yml

View workflow run for this annotation

GitHub Actions / build

Invalid workflow file

The workflow is not valid. .github/workflows/build-backchannels.yml (Line: 25, Col: 14): Unrecognized named-value: 'BASE_IMAGE_REPO'. Located at position 1 within expression: BASE_IMAGE_REPO .github/workflows/build-backchannels.yml (Line: 29, Col: 14): Unrecognized named-value: 'BASE_IMAGE_REPO'. Located at position 1 within expression: BASE_IMAGE_REPO
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