2 Commits

Author SHA1 Message Date
Sebastian Seedorf
3ef567a39e Pin actions to @v1 tag
Some checks failed
Build & Push / build (push) Failing after 1m48s
2026-05-19 18:42:10 +02:00
Sebastian Seedorf
1ff03cd09f Add Factorio mod push step and README
Some checks failed
Build & Push / build (push) Has been cancelled
- Add factorio-mod-push step to build.yml (mod-folder: ./plugin)
- Create plugin/README.md as bootstrap for mod portal description
2026-05-19 18:17:10 +02:00
2 changed files with 16 additions and 6 deletions

View File

@@ -18,7 +18,7 @@ jobs:
- name: Bump version
id: version
uses: https://git.sebse.de/sebse/actions/version-bump@main
uses: https://git.sebse.de/sebse/actions/version-bump@v1
with:
token: ${{ github.token }}
@@ -28,26 +28,26 @@ jobs:
echo "IMAGE_MIGRATE=git.sebse.de/${{ github.repository }}-migrate" >> $GITHUB_ENV
- name: Docker login
uses: https://git.sebse.de/sebse/actions/docker-login@main
uses: https://git.sebse.de/sebse/actions/docker-login@v1
with:
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push app
uses: https://git.sebse.de/sebse/actions/docker-build-push@main
uses: https://git.sebse.de/sebse/actions/docker-build-push@v1
with:
image: ${{ env.IMAGE }}
build-context: ./web
- name: Build and push migrate
uses: https://git.sebse.de/sebse/actions/docker-build-push@main
uses: https://git.sebse.de/sebse/actions/docker-build-push@v1
with:
image: ${{ env.IMAGE_MIGRATE }}
build-context: ./web
dockerfile: ./web/Dockerfile.migrate
- name: Package and push helm chart
uses: https://git.sebse.de/sebse/actions/helm-package-push@main
uses: https://git.sebse.de/sebse/actions/helm-package-push@v1
with:
chart-path: ${{ env.CHART_PATH }}
version: ${{ steps.version.outputs.version }}
@@ -55,8 +55,15 @@ jobs:
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Package and push Factorio mod
uses: https://git.sebse.de/sebse/actions/factorio-mod-push@v1
with:
mod-folder: ./plugin
version: ${{ steps.version.outputs.version }}
factorio-token: ${{ secrets.FACTORIO_TOKEN }}
- name: Deploy to prod
uses: https://git.sebse.de/sebse/actions/helm-deploy@main
uses: https://git.sebse.de/sebse/actions/helm-deploy@v1
with:
app: factorio-signal-exporter
profile: prod

3
plugin/README.md Normal file
View File

@@ -0,0 +1,3 @@
# Signal Exporter
Provides a custom combinator that reads both connected circuit and logistic networks, writing the data to a JSON file.