Skip to content

Merge pull request #26 from wantedly/renovate/actions-checkout-4.x #43

Merge pull request #26 from wantedly/renovate/actions-checkout-4.x

Merge pull request #26 from wantedly/renovate/actions-checkout-4.x #43

Workflow file for this run

name: CI
on: [push]
env:
REPO: quay.io/wantedly/k8nskel
TAG: ${{ github.sha }}
jobs:
build_and_push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version-file: go.mod
check-latest: true
cache: true
- name: Build
run: script/ci-build
- name: Push
run: script/ci-deploy
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}