Skip to content

chore: testing

chore: testing #11

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
continue-on-error: true
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: |
docker pull moby/buildkit:buildx-stable-1
docker tag moby/buildkit:buildx-stable-1 ${{vars.AWS_ECR_REPO_BASE}}/moby/buildkit:buildx-stable-roberta-test
docker push ${{vars.AWS_ECR_REPO_BASE}}/moby/buildkit:buildx-stable-roberta-test
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
driver-opts: |
image=${{vars.AWS_ECR_REPO_BASE}}/moby/buildkit:buildx-stable-roberta-test
- name: Some Other jobs
run: echo "Some other jobs"