mirror of
https://github.com/ysoftdevs/imagepullsecret-injector.git
synced 2026-01-17 00:57:10 +01:00
Add a Github workflow for building docker images
This commit is contained in:
33
.github/workflows/release-docker.yaml
vendored
Normal file
33
.github/workflows/release-docker.yaml
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
name: Release docker images
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: ‘1.14.0’
|
||||
|
||||
- name: Setup make
|
||||
run: |
|
||||
apt update
|
||||
apt install -y make
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
with:
|
||||
ref: main
|
||||
|
||||
- name: Configure Git
|
||||
run: |
|
||||
git config user.name "$GITHUB_ACTOR"
|
||||
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
|
||||
|
||||
- name: make build-images
|
||||
run: make build-images
|
||||
Reference in New Issue
Block a user