mirror of
https://github.com/chaifeng/ufw-docker.git
synced 2025-07-09 19:16:12 +02:00
Build on all tags&branches
Some checks are pending
Some checks are pending
This commit is contained in:
parent
8235abcedc
commit
56371e7db3
1 changed files with 2 additions and 7 deletions
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
|
@ -2,10 +2,6 @@ name: Build and Push Images
|
|||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
branches:
|
||||
- 'master'
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
|
@ -18,6 +14,7 @@ jobs:
|
|||
use_iptables_legacy: "false"
|
||||
- name: legacy
|
||||
use_iptables_legacy: "true"
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
@ -40,7 +37,7 @@ jobs:
|
|||
id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: chaifeng/ufw-docker-agent
|
||||
images: ${{ github.actor }}/ufw-docker-agent
|
||||
tags: |
|
||||
type=ref,event=tag,suffix=-${{ matrix.variant.name }}
|
||||
type=ref,event=branch,suffix=-${{ matrix.variant.name }}
|
||||
|
@ -55,5 +52,3 @@ jobs:
|
|||
use_iptables_legacy=${{ matrix.variant.use_iptables_legacy }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue