Skip to content

Use INDEXER_DATA throughout the entrypoint script in docker (#1583) #4

Use INDEXER_DATA throughout the entrypoint script in docker (#1583)

Use INDEXER_DATA throughout the entrypoint script in docker (#1583) #4

Workflow file for this run

name: goreleaser
on:
push:
tags:
- 'v3.**'
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- run: git fetch --force --tags
- name: go dependency
uses: actions/[email protected]
with:
go-version-file: 'go.mod'
- name: Setup QEMU (docker multi-arch dependency)
uses: docker/setup-qemu-action@v2
- name: Setup Docker Buildx (docker multi-arch dependency)
uses: docker/setup-buildx-action@v2
- name: dockerhub-login
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
- uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}