mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-14 10:37:27 -07:00
fix
This commit is contained in:
parent
77037ecbb6
commit
72f5cfe67c
2 changed files with 11 additions and 36 deletions
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
|
@ -1,8 +1,16 @@
|
|||
name: release
|
||||
|
||||
on:
|
||||
release: # Docs: <https://help.github.com/en/articles/events-that-trigger-workflows#release-event-release>
|
||||
types: [published]
|
||||
push:
|
||||
branches: [master, main]
|
||||
tags-ignore: ['**']
|
||||
paths-ignore: [README, TODO, PROBLEMS]
|
||||
pull_request:
|
||||
paths-ignore: [README, TODO, PROBLEMS]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
docker-image:
|
||||
|
@ -28,7 +36,7 @@ jobs:
|
|||
context: .
|
||||
file: Dockerfile
|
||||
push: true
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/arm64
|
||||
build-args: HYDRA_VERSION="${{ steps.slug.outputs.version-semantic }}"
|
||||
tags: vanhauser/hydra:latest
|
||||
|
||||
|
|
33
.github/workflows/tests.yml
vendored
33
.github/workflows/tests.yml
vendored
|
@ -1,33 +0,0 @@
|
|||
name: tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master, main]
|
||||
tags-ignore: ['**']
|
||||
paths-ignore: [README, TODO, PROBLEMS]
|
||||
pull_request:
|
||||
paths-ignore: [README, TODO, PROBLEMS]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs: # Docs: <https://git.io/JvxXE>
|
||||
docker-build:
|
||||
name: Build the docker image
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 45
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: docker/setup-qemu-action@v2
|
||||
|
||||
- uses: docker/setup-buildx-action@v2
|
||||
|
||||
- uses: docker/build-push-action@v3 # Action page: <https://github.com/docker/build-push-action>
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile
|
||||
platforms: linux/amd64,linux/arm/v7
|
||||
push: true
|
||||
tags: hydra:ci
|
Loading…
Add table
Add a link
Reference in a new issue