modify release and docker build for me

This commit is contained in:
Robert Willert 2024-12-17 21:42:50 +01:00
parent 4684528358
commit 958e68304e
2 changed files with 10 additions and 9 deletions

View file

@ -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 }}

View file

@ -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