mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-04-19 19:59:13 +03:00
modify release and docker build for me
This commit is contained in:
parent
4684528358
commit
958e68304e
2 changed files with 10 additions and 9 deletions
17
.github/workflows/docker-build.yml
vendored
17
.github/workflows/docker-build.yml
vendored
|
@ -1,11 +1,12 @@
|
|||
name: Build container images
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "master"
|
||||
tags:
|
||||
- "*"
|
||||
workflow_dispatch:
|
||||
# push:
|
||||
# branches:
|
||||
# - "master"
|
||||
# tags:
|
||||
# - "*"
|
||||
|
||||
jobs:
|
||||
build-image:
|
||||
|
@ -26,7 +27,7 @@ jobs:
|
|||
- name: Prepare image tags
|
||||
id: image-tags
|
||||
run: |
|
||||
base=ngoduykhanh/wireguard-ui
|
||||
base=rwillert/wireguard-ui
|
||||
app_version=dev
|
||||
|
||||
## Set git tag as image tag
|
||||
|
@ -82,10 +83,10 @@ jobs:
|
|||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Build and push
|
||||
- name: Build # and push
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
push: true
|
||||
push: false
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm/v7,linux/arm64
|
||||
tags: ${{ steps.image-tags.outputs.container_images }}
|
||||
|
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -54,7 +54,7 @@ jobs:
|
|||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
goos: ${{ matrix.goos }}
|
||||
goarch: ${{ matrix.goarch }}
|
||||
goversion: "https://dl.google.com/go/go1.21.5.linux-amd64.tar.gz"
|
||||
goversion: "https://dl.google.com/go/go1.23.4.linux-amd64.tar.gz"
|
||||
pre_command: export CGO_ENABLED=0
|
||||
binary_name: "wireguard-ui"
|
||||
build_flags: -v
|
||||
|
|
Loading…
Add table
Reference in a new issue