ci: remove github workflow

This commit is contained in:
Carl Pearson
2025-03-30 17:36:22 -06:00
parent 490dc55c4f
commit bcc6ec8149

View File

@@ -1,33 +0,0 @@
name: Docker Image CI
on:
push:
branches: [ "master" ]
paths-ignore:
- 'README.md'
# pull_request:
# branches: [ "master" ]
# paths-ignore:
# - 'README.md'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set Environment
run: |
echo "SLUG=ghcr.io/cwpearson/ytdlp-site" >> $GITHUB_ENV
echo "DATE=$(date +"%Y%m%d_%H%M")" >> $GITHUB_ENV
- name: Build the Docker image
run: docker build . --file Dockerfile --build-arg GIT_SHA=$(git rev-parse HEAD) --tag "$SLUG:$DATE" --tag "$SLUG:latest"
- name: Publish to GHCR
run: |
echo '${{secrets.GHCR_TOKEN}}' | docker login ghcr.io -u cwpearson --password-stdin
docker push "$SLUG:latest"
docker push "$SLUG:$DATE"