Skip to content

Add git in build environment #168

Add git in build environment

Add git in build environment #168

Workflow file for this run

name: Build and publish a anniv-go
on:
# publish on releases, e.g. v2.1.13 (image tagged as "2.1.13" - "v" prefix is removed)
release:
types: [ published ]
push:
branches:
- master
jobs:
docker_publish:
runs-on: "ubuntu-20.04"
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Build and publish a Docker image for ${{ github.repository }}
uses: macbre/push-to-ghcr@master
with:
image_name: projectanni/anniv-go
github_token: ${{ secrets.GITHUB_TOKEN }}
env:
DOCKER_BUILDKIT: 1