Update .gitea/workflows/build.yml
Some checks failed
Build and Publish TVJ EPG Image / build (push) Failing after 0s
Some checks failed
Build and Publish TVJ EPG Image / build (push) Failing after 0s
This commit is contained in:
@@ -10,7 +10,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# IMPORTANT: Gitea checkout (no Node required)
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: gitea/checkout@v4
|
uses: gitea/checkout@v4
|
||||||
|
|
||||||
@@ -25,9 +24,9 @@ jobs:
|
|||||||
VERSION="$(cat VERSION | tr -d ' \n')"
|
VERSION="$(cat VERSION | tr -d ' \n')"
|
||||||
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Log in to container registry
|
- name: Registry login
|
||||||
env:
|
env:
|
||||||
REGISTRY: ${{ vars.REGISTRY }} # e.g. loxthelion.com OR ghcr.io
|
REGISTRY: ${{ vars.REGISTRY }}
|
||||||
REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
|
REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
|
||||||
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
|
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
@@ -38,7 +37,7 @@ jobs:
|
|||||||
- name: Build image (multi-tag)
|
- name: Build image (multi-tag)
|
||||||
env:
|
env:
|
||||||
REGISTRY: ${{ vars.REGISTRY }}
|
REGISTRY: ${{ vars.REGISTRY }}
|
||||||
IMAGE: ${{ vars.IMAGE }} # e.g. lyncolnmd/tvj-epg OR tvj-epg
|
IMAGE: ${{ vars.IMAGE }}
|
||||||
VERSION: ${{ steps.version.outputs.version }}
|
VERSION: ${{ steps.version.outputs.version }}
|
||||||
run: |
|
run: |
|
||||||
SHORT_SHA="${GITHUB_SHA::7}"
|
SHORT_SHA="${GITHUB_SHA::7}"
|
||||||
|
|||||||
Reference in New Issue
Block a user