Skip to content

Merge pull request #50 from Ladicle/aya/fix-action #8

Merge pull request #50 from Ladicle/aya/fix-action

Merge pull request #50 from Ladicle/aya/fix-action #8

Workflow file for this run

name: release
on:
push:
tags:
- '*'
env:
GO: 1.18.x
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: ${{ env.GO }}
- name: Docker Login
if: success() && startsWith(github.ref, 'refs/tags/')
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
run: |
echo "${DOCKER_PASSWORD}" | docker login --username "${DOCKER_USERNAME}" --password-stdin
- uses: actions/create-github-app-token@v1
id: app-token
with:

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

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yaml

Invalid workflow file

You have an error in your yaml syntax on line 27
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.CLIENT_ID }}
repositorys: homebrew-kubectl-bindrole
- name: GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
- name: Update new version in krew-index
uses: rajatjindal/[email protected]
- name: Clear
if: always() && startsWith(github.ref, 'refs/tags/')
run: |
rm -f ${HOME}/.docker/config.json