Tony Grosinger
283b5d8a49
All checks were successful
Build Production Image / Build Production Image (push) Successful in 56s
33 lines
857 B
YAML
33 lines
857 B
YAML
name: Build Production Image
|
|
run-name: $GITHUB_REF_TYPE Production Build
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*.*.*'
|
|
|
|
jobs:
|
|
Build Production Image:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: git.grosinger.net/tgrosinger/runner-image:0.0.3
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v2
|
|
|
|
- name: Login to Gitea Docker registry
|
|
uses: docker/login-action@v2
|
|
with:
|
|
registry: git.grosinger.net
|
|
username: tgrosinger
|
|
password: ${{ secrets.CONTAINER_REGISTRY_ACCESS_TOKEN }}
|
|
|
|
- name: Build and push
|
|
uses: docker/build-push-action@v4
|
|
with:
|
|
context: .
|
|
push: true
|
|
tags: git.grosinger.net/tgrosinger/west-sound-hall:${{ gitea.ref_name }}
|