Skip to content

add build workflow with platform #4

add build workflow with platform

add build workflow with platform #4

Workflow file for this run

name: build
on:
push:
branches:
- master
jobs:
build:
strategy:
matrix:
platform: [ amd64, arm64 ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ">=1.19"
- run: go version
- name: "Install dependencies"
run: go mod download
- name: "Build"
run: go build -o ./bin/main ./cmd
env:
CGO_ENABLED: "0"
GOOS: linux
GOARCH: ${{ matrix.platform }}
push:
if: ${{ success() }}
uses: ./.github/workflows/push.yaml

Check failure on line 32 in .github/workflows/build.yaml

View workflow run for this annotation

GitHub Actions / build

Invalid workflow file

The workflow is not valid. In .github/workflows/build.yaml (Line: 32, Col: 11): Error from called workflow falmar/ecs-service-deployer/.github/workflows/push.yaml@08dad8c6cdd1a9dc5202f8a33def970125534761 (Line: 7, Col: 9): Required property is missing: type
with:
image_tag: "latest"
secrets:
HUB_PASSWORD: ${{ secrets.HUB_PASSWORD }}