diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index b3b8ca0..5c5fc29 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -19,12 +19,23 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 - + - + name: Set up QEMU + uses: docker/setup-qemu-action@v2 + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 # Runs a set of commands using the runners shell - - name: Build and push to Docker - uses: docker/build-push-action@v1.1.0 + - + name: Login to DockerHub + uses: docker/login-action@v2 with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - repository: chrissexton/private + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Build and push to Docker + uses: docker/build-push-action@v3 + with: + context: . + push: true tags: latest,catbase + platforms: linux/amd64,linux/arm64