Skip to content

Commit

Permalink
Try pushing images to BCDC
Browse files Browse the repository at this point in the history
  • Loading branch information
kberzinch committed Mar 3, 2024
1 parent 4db7d5e commit be79127
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,13 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to BCDC Registry
uses: docker/login-action@v3
with:
registry: registry.bcdc.robojackets.net
username: ${{ secrets.BCDC_REGISTRY_USERNAME }}
password: ${{ secrets.BCDC_REGISTRY_PASSWORD }}

- name: Write Composer auth file
run: |
echo '{"github-oauth":{"github.com":"${{ github.token }}"},"http-basic":{"nova.laravel.com":{"username":"${{ secrets.LARAVEL_NOVA_USERNAME }}","password":"${{ secrets.LARAVEL_NOVA_PASSWORD }}"}}}' > auth.json
Expand All @@ -158,8 +165,10 @@ jobs:
uses: docker/build-push-action@v5
with:
tags: registry.bcdc.robojackets.net/apiary:latest
github-token: ${{ github.token }}
network: host
pull: true
push: true
secret-files: composer_auth=./auth.json
target: backend-uncompressed
target: ${{ backend-uncompressed }}
cache-from: type=gha
cache-to: type=gha,mode=max

0 comments on commit be79127

Please sign in to comment.