From 8d2a8fe5e19c23f7f31c2ff6ffa57b9cca2b0882 Mon Sep 17 00:00:00 2001 From: David Folkes Date: Mon, 2 Feb 2026 10:44:15 -0500 Subject: [PATCH] Delete .github/workflows/build2.yml --- .github/workflows/build2.yml | 73 ------------------------------------ 1 file changed, 73 deletions(-) delete mode 100644 .github/workflows/build2.yml diff --git a/.github/workflows/build2.yml b/.github/workflows/build2.yml deleted file mode 100644 index e894801..0000000 --- a/.github/workflows/build2.yml +++ /dev/null @@ -1,73 +0,0 @@ -name: Build and Publish TVJ EPG Image - -on: - push: - branches: [ main ] - workflow_dispatch: - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: gitea/checkout@v4 - - - name: Install Podman - run: | - sudo apt-get update - sudo apt-get install -y podman - - - name: Read version - id: version - run: | - VERSION="$(cat VERSION | tr -d ' \n')" - echo "version=$VERSION" >> $GITHUB_OUTPUT - - # ---------------------------- - # Login to your registry - # ---------------------------- - - name: Registry login - env: - REGISTRY: ${{ vars.REGISTRY }} # e.g. registry.example.com OR ghcr.io - REGISTRY_USER: ${{ secrets.REGISTRY_USER }} - REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }} - run: | - echo "$REGISTRY_TOKEN" | podman login "$REGISTRY" \ - -u "$REGISTRY_USER" \ - --password-stdin - - # ---------------------------- - # Build & tag - # ---------------------------- - - name: Build image (multi-tag) - env: - REGISTRY: ${{ vars.REGISTRY }} # e.g. registry.example.com OR ghcr.io - IMAGE: ${{ vars.IMAGE }} # e.g. lyncolnmd/tvj-epg (no registry prefix) - VERSION: ${{ steps.version.outputs.version }} - run: | - SHORT_SHA="${GITHUB_SHA::7}" - FULL_IMAGE="$REGISTRY/$IMAGE" - - podman build \ - -f Containerfile \ - -t "$FULL_IMAGE:latest" \ - -t "$FULL_IMAGE:v$VERSION" \ - -t "$FULL_IMAGE:sha-$SHORT_SHA" \ - . - - # ---------------------------- - # Push - # ---------------------------- - - name: Push all tags - env: - REGISTRY: ${{ vars.REGISTRY }} - IMAGE: ${{ vars.IMAGE }} - VERSION: ${{ steps.version.outputs.version }} - run: | - SHORT_SHA="${GITHUB_SHA::7}" - FULL_IMAGE="$REGISTRY/$IMAGE" - - podman push "$FULL_IMAGE:latest" - podman push "$FULL_IMAGE:v$VERSION" - podman push "$FULL_IMAGE:sha-$SHORT_SHA"