This commit is contained in:
@@ -18,7 +18,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Bump version
|
- name: Bump version
|
||||||
id: version
|
id: version
|
||||||
uses: https://git.sebse.de/sebse/actions/version-bump@main
|
uses: https://git.sebse.de/sebse/actions/version-bump@v1
|
||||||
with:
|
with:
|
||||||
token: ${{ github.token }}
|
token: ${{ github.token }}
|
||||||
|
|
||||||
@@ -28,26 +28,26 @@ jobs:
|
|||||||
echo "IMAGE_MIGRATE=git.sebse.de/${{ github.repository }}-migrate" >> $GITHUB_ENV
|
echo "IMAGE_MIGRATE=git.sebse.de/${{ github.repository }}-migrate" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Docker login
|
- name: Docker login
|
||||||
uses: https://git.sebse.de/sebse/actions/docker-login@main
|
uses: https://git.sebse.de/sebse/actions/docker-login@v1
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
|
||||||
- name: Build and push app
|
- 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:
|
with:
|
||||||
image: ${{ env.IMAGE }}
|
image: ${{ env.IMAGE }}
|
||||||
build-context: ./web
|
build-context: ./web
|
||||||
|
|
||||||
- name: Build and push migrate
|
- 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:
|
with:
|
||||||
image: ${{ env.IMAGE_MIGRATE }}
|
image: ${{ env.IMAGE_MIGRATE }}
|
||||||
build-context: ./web
|
build-context: ./web
|
||||||
dockerfile: ./web/Dockerfile.migrate
|
dockerfile: ./web/Dockerfile.migrate
|
||||||
|
|
||||||
- name: Package and push helm chart
|
- 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:
|
with:
|
||||||
chart-path: ${{ env.CHART_PATH }}
|
chart-path: ${{ env.CHART_PATH }}
|
||||||
version: ${{ steps.version.outputs.version }}
|
version: ${{ steps.version.outputs.version }}
|
||||||
@@ -56,14 +56,14 @@ jobs:
|
|||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
|
||||||
- name: Package and push Factorio mod
|
- name: Package and push Factorio mod
|
||||||
uses: https://git.sebse.de/sebse/actions/factorio-mod-push@main
|
uses: https://git.sebse.de/sebse/actions/factorio-mod-push@v1
|
||||||
with:
|
with:
|
||||||
mod-folder: ./plugin
|
mod-folder: ./plugin
|
||||||
version: ${{ steps.version.outputs.version }}
|
version: ${{ steps.version.outputs.version }}
|
||||||
factorio-token: ${{ secrets.FACTORIO_TOKEN }}
|
factorio-token: ${{ secrets.FACTORIO_TOKEN }}
|
||||||
|
|
||||||
- name: Deploy to prod
|
- 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:
|
with:
|
||||||
app: factorio-signal-exporter
|
app: factorio-signal-exporter
|
||||||
profile: prod
|
profile: prod
|
||||||
|
|||||||
Reference in New Issue
Block a user