From 958e68304e199a99ff41c6920bb974b217d73605 Mon Sep 17 00:00:00 2001 From: Robert Willert Date: Tue, 17 Dec 2024 21:42:50 +0100 Subject: [PATCH] modify release and docker build for me --- .github/workflows/docker-build.yml | 17 +++++++++-------- .github/workflows/release.yml | 2 +- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 8960a48b..409137c6 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -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 }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4205bde9..3f0a7e6e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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