Skip to content

Workflow file for this run

name: release

Check failure on line 1 in .github/workflows/release-tag.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/release-tag.yaml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: gentag
on:
push:
tags:
- v*
jobs:
gentag:
name: gentag
run: |
TAG=$GITHUB_REF_NAME | sed 's/v//'
echo '::set-output name=tag::'$TAG
docker:
name: docker
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v4
with:
platforms: linux/amd64,linux/arm64
context: .
file: ./cmd/shovel/Dockerfile
push: true
tags: indexsupply/shovel:${{ github.ref_name }}
bins:
name: binaries
runs-on: ubuntu-latest
strategy:
matrix:
cmd: [shovel]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: set up Go
uses: actions/setup-go@v3
with:
go-version: "1.21"
- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- uses: ./.github/actions/release
id: go-run-release
with:
cmd: ${{ matrix.cmd }} -tag ${{ github.ref_name }}
dist: ${{ secrets.AWS_DISTRIBUTION_ID }}
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'us-west-2'