19 lines
571 B
YAML
19 lines
571 B
YAML
name: Build Production Container
|
|
run-name: $Env:GITHUB_REF_TYPE Production Build
|
|
on:
|
|
push:
|
|
tags:
|
|
- *.*.*
|
|
|
|
jobs:
|
|
Explore-Gitea-Actions:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v3
|
|
- name: Deploy
|
|
run: |
|
|
echo "${{ secrets.CONTAINER_REGISTRY_ACCESS_TOKEN }}" | docker login git.grosinger.net --password-stdin
|
|
docker build -t git.grosinger.net/west-sound-hall:$Env:GITHUB_REF_TYPE .
|
|
docker push git.grosinger.net/west-sound-hall:$Env:GITHUB_REF_TYPE
|