Skip to content

Release

Release #14

Workflow file for this run

name: Release
on:
push:
tags:
- '*'
jobs:
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: Run mage.go
run: go run mage.go
release:
needs: 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: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Set environment variables
run: |
echo "BUILD_IMAGE=golang:1.21" >> $GITHUB_ENV
echo "KO_DOCKER_REPO=alperencelik/kubemox" >> $GITHUB_ENV
- name: Run mage.go Release
run: go run mage.go Release
with:

Check failure on line 48 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yaml (Line: 48, Col: 9): Unexpected value 'with'
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}