From 2a2c418463f853d8f079266ed3cb93af7d82be2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Sat, 13 Feb 2021 13:27:45 +0100 Subject: [PATCH] ci: fix syntax in the release workflow (#141) --- .github/PULL_REQUEST_TEMPLATE.md | 5 ++- .github/workflows/release.yml | 54 ++++++++++++++++---------------- 2 files changed, 31 insertions(+), 28 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 7e915b9..6ad8ee4 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -7,9 +7,12 @@ | License | GNU AGPL-v3 **Checklist:** + - [ ] I have updated the manpages diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9af29ae..b884ceb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -82,30 +82,30 @@ jobs: make POEDITOR_API_ACCESS="${POEDITOR_API_ACCESS}" POEDITOR_PROJECT_ID="306433" build twine upload dist/* docker: - name: Push to DockerHub - runs-on: ubuntu-latest - steps: - - - name: Set up QEMU - uses: docker/setup-qemu-action@v1 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 - - - name: Login to DockerHub - uses: docker/login-action@v1 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Build and push - id: docker_build - uses: docker/build-push-action@v2 - with: - push: true - file: ./Dockerfile - platforms: linux/amd64,linux/arm64,linux/386 - tags: kosmorro/kosmorro:latest - - - name: Image digest - run: echo ${{ steps.docker_build.outputs.digest }} \ No newline at end of file + name: Push to DockerHub + runs-on: ubuntu-latest + steps: + - + name: Set up QEMU + uses: docker/setup-qemu-action@v1 + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + - + name: Login to DockerHub + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - + name: Build and push + id: docker_build + uses: docker/build-push-action@v2 + with: + push: true + file: ./Dockerfile + platforms: linux/amd64,linux/arm64,linux/386 + tags: kosmorro/kosmorro:latest + - + name: Image digest + run: echo ${{ steps.docker_build.outputs.digest }}