Update docker.yml

This commit is contained in:
Chris Sexton 2022-05-16 14:38:15 -04:00
parent 73c9d3ccf0
commit 36cdb55ea4
1 changed files with 17 additions and 6 deletions

View File

@ -19,12 +19,23 @@ jobs:
steps: steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2 - 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 # 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: with:
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }} password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: chrissexton/private - name: Build and push to Docker
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: latest,catbase tags: latest,catbase
platforms: linux/amd64,linux/arm64