Browse Source

ci: fix syntax in the release workflow (#141)

tags/v0.10.0
Jérôme Deuchnord 3 years ago
committed by GitHub
parent
commit
2a2c418463
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 28 deletions
  1. +4
    -1
      .github/PULL_REQUEST_TEMPLATE.md
  2. +27
    -27
      .github/workflows/release.yml

+ 4
- 1
.github/PULL_REQUEST_TEMPLATE.md View File

@@ -7,9 +7,12 @@
| License | GNU AGPL-v3

**Checklist:**
<!--
Leave the checklist as it when editing, and check the boxes once the PR created.
-->
- [ ] I have updated the manpages

<!--
Replace this notice by a short README for your feature/bugfix.
Replace this notice with a short README for your feature/bugfix.
-->


+ 27
- 27
.github/workflows/release.yml View File

@@ -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 }}
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 }}

Loading…
Cancel
Save