This repository has been archived by the owner on Mar 16, 2024. It is now read-only.
forked from getanteon/alaz
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Delete existing Alaz-created tc filters before creating new ones (#7)
Signed-off-by: Grant Linville <[email protected]>
- Loading branch information
1 parent
acff046
commit 9b6cf8c
Showing
2 changed files
with
62 additions
and
22 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Tag | ||
on: | ||
push: | ||
tags: [v*.*.*] | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v2 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
with: | ||
buildkitd-flags: --debug | ||
- name: Log in to GHCR | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Build and push | ||
run: | # build and push it with the tag created on the repo | ||
committed_tag=${GITHUB_REF#refs/*/} | ||
TAG=$(basename "${committed_tag}") | ||
docker buildx build --platform linux/amd64 -t ghcr.io/${{ github.repository_owner }}/alaz:${TAG} --push . |
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