Skip to content

Commit

Permalink
Update dashboard.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xOS authored Aug 25, 2024
1 parent 4062a8c commit d339ac8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
go_version: 1.21.x
dest: dist
pkg: cmd/dashboard
prefix: dashboard
prefix: dash
targets: linux/amd64,linux/arm64,linux/arm-7,linux/s390x,linux/riscv64,windows/amd64,windows/386,windows/arm64 # linux/386,
v: true
x: false
Expand All @@ -50,6 +50,11 @@ jobs:
ldflags: -s -w --extldflags '-static -fpic' -X github.com/xos/serverstatus/service/singleton.Version=${{ steps.extract_branch.outputs.tag }}
buildmode: default

- name: fix dist
run: |
ls -al dist/
mv dist/dash-linux-arm-7 dist/dash-linux-arm
- name: Log in to the GHCR
uses: docker/login-action@master
with:
Expand Down Expand Up @@ -83,11 +88,6 @@ jobs:
echo "::set-output name=DOC_IMAGE_NAME::$DOC_IMAGE_NAME"
id: image-name

- name: fix dist
run: |
ls -al dist/
mv dist/dashboard-linux-arm-7 dist/dashboard-linux-arm
- name: Build Dasbboard Image And Push
uses: docker/build-push-action@v5
with:
Expand Down

0 comments on commit d339ac8

Please sign in to comment.