Skip to content

Commit

Permalink
chore: Change contexts
Browse files Browse the repository at this point in the history
  • Loading branch information
afoley587 committed Oct 31, 2024
1 parent 9cf5b71 commit cc6bfb8
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,13 @@ jobs:
gcloud auth print-access-token | docker login \
-u oauth2accesstoken \
--password-stdin "https://${{ secrets.GCP_LOCATION }}-docker.pkg.dev"
- name: Helm login
run: |
gcloud auth print-access-token | \
helm registry login -u oauth2accesstoken \
--password-stdin "https://${{ secrets.GCP_LOCATION }}-docker.pkg.dev"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
platforms: linux/amd64,linux/arm64
file: ./external/VoxelBot/dockerfile
context: ./external/VoxelBot
file: dockerfile
context: .
tags: ${{ secrets.GCP_LOCATION }}-docker.pkg.dev/${{ secrets.GCP_PROJECT }}/${{ secrets.GCP_DOCKER_REPOSITORY }}/voxel51-discordbot:${{ github.sha }}

0 comments on commit cc6bfb8

Please sign in to comment.