Skip to content

Commit

Permalink
ci: push
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingKoopa committed Jan 10, 2024
1 parent e87dde1 commit d1d8bb3
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,19 @@ jobs:
- name: 'Setup Docker Buildx'
uses: 'docker/setup-buildx-action@v3'
# Docs: https://github.com/docker/login-action
# TODO: make HackBU account
# - name: Login to Docker Hub
# uses: docker/login-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
# Docs: https://github.com/docker/build-push-action
- name: 'Build and push'
uses: 'docker/build-push-action@v5'
with:
context: '{{defaultContext}}:${{ matrix.image.context }}'
file: '${{ matrix.image.dockerfile }}'
target: '${{ matrix.image.target }}'
platforms: 'linux/amd64,linux/arm64'
# TODO
push: false
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.tags }}
push: true

0 comments on commit d1d8bb3

Please sign in to comment.