add build and deploy actions
Some checks failed
Build access-web-migration / Build-And-Push (push) Failing after 38s
Some checks failed
Build access-web-migration / Build-And-Push (push) Failing after 38s
This commit is contained in:
28
.gitea/workflows/build.yaml
Normal file
28
.gitea/workflows/build.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
name: Build access-web-migration
|
||||
|
||||
on: [push]
|
||||
|
||||
env:
|
||||
CONTAINER_NAME: pun-app
|
||||
IMAGE_NAME: 'deltreey/pun-app'
|
||||
|
||||
jobs:
|
||||
Build-And-Push:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- name: Login
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: gitea.area-51-x.com
|
||||
username: ${{secrets.DOCKER_USER}}
|
||||
password: ${{secrets.DOCKER_PASSWORD}}
|
||||
- uses: mr-smithers-excellent/docker-build-push@v6
|
||||
name: Build & push Docker image
|
||||
with:
|
||||
image: ${IMAGE_NAME}
|
||||
tags: latest, ${{gitea.ref_name}}, ${{gitea.run_id}}
|
||||
registry: gitea.area-51-x.com
|
||||
username: ${{ secrets.DOCKER_USER }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
Reference in New Issue
Block a user