Skip to content

Commit

Permalink
(fix): workflow improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
kameshsampath committed Apr 8, 2024
1 parent 1d472a6 commit 024cabd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ jobs:
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
password: ${{ secrets.MY_GH_ACTION_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: etc/docker
file: Dockerfile.snowsink
context: .
file: ./etc/docker/Dockerfile.snowsink
platforms: linux/amd64,linux/arm64
push: true
tags: |
Expand Down
7 changes: 7 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ builds:
{{- if eq .Os "windows" }}
{{- if eq .Arch "amd64" }}CC=zig c++ -target x86_64-windows-gnu{{- end }}
{{- end }}
flags:
- -trimpath
ignore:
- goos: windows
goarch: arm64
Expand All @@ -69,6 +71,8 @@ builds:
- "arm64"
env:
- CGO_ENABLED=0
flags:
- -trimpath
ignore:
- goos: windows
goarch: arm64
Expand All @@ -84,8 +88,11 @@ builds:
- "arm64"
env:
- CGO_ENABLED=0
flags:
- -trimpath
ignore:
- goos: windows
goarch: arm64

kos:
- id: todo-app-server
Expand Down

0 comments on commit 024cabd

Please sign in to comment.