Skip to content

Commit

Permalink
Merge pull request #7 from janpreet/refator
Browse files Browse the repository at this point in the history
Fix pipeline
  • Loading branch information
janpreet authored Aug 3, 2024
2 parents 93736c9 + c0ed3a4 commit 5f55bca
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/docker-release.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Build, Docker, and Release
on:
'on':
push:
branches:
- main
- 'feature/*'
- 'fix/*'
- feature/*
- fix/*
env:
VERSION_FILE: VERSION
DOCKER_IMAGE: ghcr.io/${{ github.repository }}
Expand All @@ -14,8 +14,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, windows, darwin]
goarch: [amd64, arm64]
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
exclude:
- goos: windows
goarch: arm64
Expand All @@ -26,12 +31,12 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.22.x'
go-version: 1.22.x

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
python-version: 3.x

- name: Log in to GitHub Container Registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u "${{ github.actor }}" --password-stdin
Expand Down Expand Up @@ -78,7 +83,9 @@ jobs:
#docker push ${{ env.DOCKER_IMAGE }}:${{ steps.version.outputs.version }}
release:
needs: [build, docker]
needs:
- build
- docker
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down

0 comments on commit 5f55bca

Please sign in to comment.