Browse Source

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

tags/v0.10.0
Jérôme Deuchnord 4 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 | License | GNU AGPL-v3


**Checklist:** **Checklist:**
<!--
Leave the checklist as it when editing, and check the boxes once the PR created.
-->
- [ ] I have updated the manpages - [ ] 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 make POEDITOR_API_ACCESS="${POEDITOR_API_ACCESS}" POEDITOR_PROJECT_ID="306433" build
twine upload dist/* twine upload dist/*
docker: docker:
name: Push to DockerHub name: Push to DockerHub
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- -
name: Set up QEMU name: Set up QEMU
uses: docker/setup-qemu-action@v1 uses: docker/setup-qemu-action@v1
- -
name: Set up Docker Buildx name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1 uses: docker/setup-buildx-action@v1
- -
name: Login to DockerHub name: Login to DockerHub
uses: docker/login-action@v1 uses: docker/login-action@v1
with: with:
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 id: docker_build
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
push: true push: true
file: ./Dockerfile file: ./Dockerfile
platforms: linux/amd64,linux/arm64,linux/386 platforms: linux/amd64,linux/arm64,linux/386
tags: kosmorro/kosmorro:latest tags: kosmorro/kosmorro:latest
- -
name: Image digest name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }} run: echo ${{ steps.docker_build.outputs.digest }}

||||||
x
 
000:0
Loading…
Cancel
Save