put flows back together

This commit is contained in:
cupcakearmy 2022-11-04 22:10:19 +01:00
parent b84df2866b
commit 03e9fb431f
No known key found for this signature in database
GPG Key ID: 3235314B4D31232F
2 changed files with 1 additions and 8 deletions

View File

@ -9,9 +9,6 @@ on:
jobs: jobs:
docker: docker:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
matrix:
arch: ["linux/amd64", "linux/arm64"]
steps: steps:
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v1 uses: docker/setup-qemu-action@v1
@ -34,11 +31,8 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push - name: Build and push
id: docker_build
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
platforms: ${{ matrix.arch }} platforms: linux/amd64,linux/arm64
push: true push: true
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}

View File

@ -20,7 +20,6 @@ jobs:
with: with:
install: true install: true
- name: Build and push - name: Build and push
id: docker_build
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
platforms: ${{ matrix.arch }} platforms: ${{ matrix.arch }}