add build and deploy actions
Some checks failed
Build access-web-migration / Build-And-Push (push) Failing after 38s

This commit is contained in:
2024-04-22 14:23:03 -05:00
parent c918931c2e
commit c82c10dd0a
2 changed files with 56 additions and 0 deletions

View 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 }}