Skip to content

Add some ambitious actions crap #92

Add some ambitious actions crap

Add some ambitious actions crap #92

Workflow file for this run

name: "Build and push"
on:
push:
branches: [ main ]
pull_request: { }
jobs:
lint:
runs-on: "ubuntu-latest"
steps:
- uses: "emortalmc/actions/go/lint@main"
build:
runs-on: "ubuntu-latest"
steps:
- uses: "emortalmc/actions/go/build-single@main"
publish:
needs: [ "lint", "build" ]
runs-on: "ubuntu-latest"
strategy:
matrix:
platform: [ linux/amd64, linux/arm64 ]
steps:
- uses: "emortalmc/actions/go/publish-only-single@main"
with:
registry-password: "${{ secrets.GITHUB_TOKEN }}"
# publish:
# needs: "lint"
# runs-on: "ubuntu-latest"
# steps:
# - uses: "emortalmc/actions/go/publish-single@main"
# with:
# registry-password: "${{ secrets.GITHUB_TOKEN }}"
#
deploy:
needs: "publish"
runs-on: "ubuntu-latest"
steps:
- uses: "emortalmc/actions/argo-sync@main"
with:
deployment-name: "mc-player-service"
values-path: "service/values/mc-player-service.yaml"
deployments-repo-token: "${{ secrets.DEPLOYMENTS_REPO_TOKEN }}"