Merge pull request #60 from silvio/feso/6.3 #39
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release for silvio/docker-languagetool | |
on: | |
push: | |
tags: | |
- '[0-9]+.[0-9]+' | |
- '[0-9]+.[0-9]+.[0-9]+' | |
- '[0-9]+.[0-9]+-update[0-9]+' | |
- '[0-9]+.[0-9]+.[0-9]+-update[0-9]+' | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
id: buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Set environment variables | |
run: | | |
make envout >> ${GITHUB_ENV} | |
- name: Prepare system | |
run: | | |
make prepare | |
- name: Build Docker image | |
run: | | |
make build | |
- name: Run tests | |
run: | | |
make test | |
- name: Login Docker | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_PASSWORD }} | |
- name: Push tag | |
run: | | |
make tag | |