Skip to content

chore: testing

chore: testing #7

Workflow file for this run

name: Monorepo pipeline - docker-fix
on:
push:
branches: [docker-build-x-image]
jobs:
docker-test:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Docker login to ECR repo
run: ./scripts/ci/docker-login-ecr.sh
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
DOCKER_REGISTRY: 821090935708.dkr.ecr.eu-west-1.amazonaws.com/
- name: Check ic cached buildx image exists
id: cache-check
run: docker pull ${{vars.AWS_ECR_REPO_BASE}}/moby/buildkit:buildx-stable-roberta-test
- name: Fetch buildx image
if: ${{ failure() && steps.cache-check.conclusion == 'failure' }}
run: echo "this didn't work"
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v3
# with:
# driver-opts: |
# image=${{vars.AWS_ECR_REPO_BASE}}/moby/buildkit:buildx-stable-2