support -W for modules that use libarries #58
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 | |
on: | |
push: | |
branches: [master, main] | |
tags-ignore: ['**'] | |
paths-ignore: [README, TODO, PROBLEMS] | |
pull_request: | |
paths-ignore: [README, TODO, PROBLEMS] | |
jobs: | |
docker-image: | |
name: Build the docker image | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: docker/setup-qemu-action@v2 | |
- uses: docker/setup-buildx-action@v2 | |
- uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- uses: gacts/github-slug@v1 # Action page: <https://github.com/gacts/github-slug> | |
id: slug | |
- uses: docker/build-push-action@v3 # Action page: <https://github.com/docker/build-push-action> | |
with: | |
context: . | |
file: Dockerfile | |
push: true | |
platforms: linux/amd64, linux/arm64 | |
# ,linux/arm/v6, linux/arm/v7 | |
tags: vanhauser/hydra:latest | |