Update everything and add Forgejo workflow
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m43s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m43s
This commit is contained in:
parent
f446a9e9e0
commit
03b4088e19
14 changed files with 132 additions and 250 deletions
23
.forgejo/workflows/build.yml
Normal file
23
.forgejo/workflows/build.yml
Normal file
|
@ -0,0 +1,23 @@
|
|||
name: Build and Push Docker Image
|
||||
|
||||
on: [push]
|
||||
jobs:
|
||||
build-and-push:
|
||||
runs-on: ubuntu-24.04
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: |
|
||||
docker.robware.uk/api.projects:latest
|
||||
docker.robware.uk/api.projects:${{env.GITHUB_SHA}}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue