let's try to build with a secret...
Some checks failed
Build napotd / Build-And-Push (push) Failing after 18s
Some checks failed
Build napotd / Build-And-Push (push) Failing after 18s
This commit is contained in:
29
.gitea/workflows/build.yaml
Normal file
29
.gitea/workflows/build.yaml
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
name: Build napotd
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
env:
|
||||||
|
CONTAINER_NAME: napotd
|
||||||
|
ORG_NAME: deltreey
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Build-And-Push:
|
||||||
|
runs-on: docker
|
||||||
|
# container:
|
||||||
|
# image: docker:dind
|
||||||
|
# privileged: true
|
||||||
|
steps:
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Login to Docker Hub
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: gitea.area-51-x.com
|
||||||
|
username: ${{secrets.DOCKER_USER}}
|
||||||
|
password: ${{secrets.DOCKER_PASSWORD}}
|
||||||
|
- name: Build and push
|
||||||
|
uses: docker/build-push-action@v5
|
||||||
|
with:
|
||||||
|
registry: gitea.area-51-x.com
|
||||||
|
push: true
|
||||||
|
tags: $ORG_NAME/$CONTAINER_NAME:latest, $ORG_NAME/$CONTAINER_NAME:${{gitea.ref_name}}
|
||||||
Reference in New Issue
Block a user