Compare commits
3 Commits
0ed031d0ed
..
main
| Author | SHA256 | Date | |
|---|---|---|---|
| b8a4327a85 | |||
| 17dae825f3 | |||
| 7641af7d9c |
@@ -0,0 +1,37 @@
|
|||||||
|
name: Deploy built resources
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- 'main'
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
release:
|
||||||
|
types: [ published ]
|
||||||
|
|
||||||
|
env:
|
||||||
|
GOMPLATE_VERSION: 5.1.0
|
||||||
|
GITEA_CONTAINER_REG: gitea.nerthus.nl
|
||||||
|
DOCKER_IMAGE_NAME: orbits-server
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
docker_build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
packages: write
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
curl -L -o /usr/local/bin/gomplate https://github.com/hairyhenderson/gomplate/releases/download/v{{ env.GOMPLATE_VERSION }}/gomplate_linux-amd64
|
||||||
|
chmod +x /usr/bin/gomplate
|
||||||
|
|
||||||
|
- name: Render template
|
||||||
|
run: |
|
||||||
|
gomplate
|
||||||
@@ -23,12 +23,6 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- name: Prepare for rootless docker
|
|
||||||
run: |
|
|
||||||
ls -l /run/docker.sock || true
|
|
||||||
ss -lx | grep docker || true
|
|
||||||
ps aux | grep dockerd || true
|
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user