Skip to content

Commit

Permalink
Merge pull request #7 from rwillert/modify-build
Browse files Browse the repository at this point in the history
modify release and docker build for me
  • Loading branch information
rwillert authored Dec 17, 2024
2 parents 3cffc36 + 958e683 commit 95afa8d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: Build container images

on:
push:
branches:
- "master"
tags:
- "*"
workflow_dispatch:
# push:
# branches:
# - "master"
# tags:
# - "*"

jobs:
build-image:
Expand All @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 95afa8d

Please sign in to comment.