Skip to content

Commit

Permalink
Test github action for mage release
Browse files Browse the repository at this point in the history
  • Loading branch information
alperencelik committed Jan 6, 2024
1 parent 88c08a5 commit 22479d7
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ on:
- '*'

jobs:
verify:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21
# verify:
# runs-on: ubuntu-latest
# steps:
# - name: Set up Go
# uses: actions/setup-go@v2
# with:
# go-version: 1.21

- name: Check out code
uses: actions/checkout@v2
# - name: Check out code
# uses: actions/checkout@v2

- name: Run mage.go
run: go run mage.go
# - name: Run mage.go
# run: go run mage.go

release:
needs: verify
# needs: verify
runs-on: ubuntu-latest
steps:
- name: Set up Go
Expand All @@ -36,6 +36,9 @@ jobs:
run: |
echo "BUILD_IMAGE=golang:1.21" >> $GITHUB_ENV
echo "KO_DOCKER_REPO=alperencelik/kubemox" >> $GITHUB_ENV
- name: Log in to Docker registry
run: echo "${{ secrets.DOCKERHUB_USERNAME }}\n${{ secrets.DOCKERHUB_PASSWORD }}" | ko login dockerhub --username-stdin

- name: Run mage.go Release
run: go run mage.go Release

0 comments on commit 22479d7

Please sign in to comment.