From d1d8bb39d73b539f0ff4fe0ac2347e883c3ea386 Mon Sep 17 00:00:00 2001 From: Koopa Date: Wed, 10 Jan 2024 15:38:05 -0500 Subject: [PATCH] ci: push --- .github/workflows/build-deploy.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-deploy.yml b/.github/workflows/build-deploy.yml index 9f3413b..43a0dc7 100644 --- a/.github/workflows/build-deploy.yml +++ b/.github/workflows/build-deploy.yml @@ -31,9 +31,12 @@ 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: @@ -41,7 +44,6 @@ jobs: 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