Skip to content

Commit

Permalink
actions: replaced deprecated buildx action
Browse files Browse the repository at this point in the history
replaced deprecated buildx action with official docker actions for setting up QEMU and buildx
  • Loading branch information
agschrei authored May 16, 2021
1 parent cfaa37d commit 6b491f2
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ jobs:
- name: checkout
uses: actions/checkout@v2

# Runs a single command using the runners shell
- name: install buildx
id: buildx
uses: crazy-max/ghaction-docker-buildx@v1
with:
buildx-version: latest
# https://github.com/docker/setup-qemu-action
- name: Set up QEMU
uses: docker/setup-qemu-action@v1

# https://github.com/docker/setup-buildx-action
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: login docker hub
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
# Runs a set of commands using the runners shell
Expand Down

0 comments on commit 6b491f2

Please sign in to comment.