add submodule and workflow
This commit is contained in:
parent
c72a0d65fc
commit
edf0fc7e9f
3 changed files with 41 additions and 0 deletions
37
.forgejo/workflows/build.yaml
Normal file
37
.forgejo/workflows/build.yaml
Normal file
|
@ -0,0 +1,37 @@
|
|||
name: Build And Publish Docker
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "master"
|
||||
jobs:
|
||||
build:
|
||||
runs-on: debian-bookworm
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
- name: Install deps
|
||||
run: curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@master
|
||||
|
||||
- name: Login to Self-Hosted Registry
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: codeberg.org
|
||||
username: ${{ secrets.REGISTRY_USER }}
|
||||
password: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
||||
|
||||
- name: Build and Push Extended Version
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
context: ./valhalla-app
|
||||
file: ./valhalla-app/Dockerfile
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
tags: |
|
||||
"git.myco.systems/brooke/valhalla-app-container:latest"
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[submodule "vallhalla-app"]
|
||||
path = vallhalla-app
|
||||
url = https://github.com/gis-ops/valhalla-app.git
|
1
vallhalla-app
Submodule
1
vallhalla-app
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit b6266482c547aa678a4ec8a2452ff861bd2c76f2
|
Loading…
Add table
Reference in a new issue