update workflows

This commit is contained in:
Rongrong 2021-09-30 01:10:08 +08:00
parent 6f9e98ca31
commit 8b10984629
No known key found for this signature in database
GPG Key ID: A36C9CDA260CB264

View File

@ -7,8 +7,11 @@ jobs:
name: Push Docker image to Docker Hub name: Push Docker image to Docker Hub
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out the repo - name: Set up QEMU
uses: actions/checkout@v2 uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- name: Log in to Docker Hub - name: Log in to Docker Hub
uses: docker/login-action@v1 uses: docker/login-action@v1
with: with:
@ -18,4 +21,5 @@ jobs:
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
push: true push: true
tags: rongronggg9/slashbot:latest platforms: linux/amd64,linux/arm64
tags: ${{ secrets.DOCKER_USERNAME }}/slashbot:latest