Adding dockerfile and action
Some checks failed
Build and push docker image / build (push) Failing after 33s
Some checks failed
Build and push docker image / build (push) Failing after 33s
This commit is contained in:
22
.gitea/workflows/build.yml
Normal file
22
.gitea/workflows/build.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
name: "Build and push docker image"
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Login registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.gliroid.com
|
||||
username: ${{ gitea.actor }}
|
||||
password: ${{ secrets.TOKEN }}
|
||||
- name: Build image
|
||||
run: docker build -t git.gliroid.com/pupyrinth/chronolock-pack:latest
|
||||
- name: Push image
|
||||
run: docker push git.gliroid.com/pupyrinth/chronolock-pack:latest
|
||||
Reference in New Issue
Block a user