forked from SoDOff-Project/sodoff
Some checks failed
Build And Publish Container / build (push) Failing after 1m41s
26 lines
809 B
YAML
26 lines
809 B
YAML
name: Build And Publish Container
|
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
options: --network gitea
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Docker Buildx
|
|
uses: https://github.com/docker/setup-buildx-action@v3
|
|
with:
|
|
config-inline: |
|
|
[registry."https://gitea.milenia.local.alanmoon.net"]
|
|
|
|
- name: Build And Push Docker Container
|
|
uses: https://github.com/docker/build-push-action@v5
|
|
with:
|
|
context: .
|
|
file: ./src/Dockerfile
|
|
push: true
|
|
tags: "gitea.milenia.local.alanmoon.net/sodoff:${{gitea.sha}},gitea.milenia.local.alanmoon.net/sodoff:latest" |