From 0f3c5638c09598c0366d283553349c8490b55534 Mon Sep 17 00:00:00 2001 From: jmnote Date: Sat, 27 Apr 2024 05:57:08 +0000 Subject: [PATCH] ci --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 48 ----------------------------------- 2 files changed, 1 insertion(+), 49 deletions(-) delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6471376..1660770 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: id: meta uses: docker/metadata-action@v5 with: - images: ghcr.io/${{ github.repository }} + images: ghcr.io/${{ github.repository }} tags: | type=ref,event=tag - diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 1660770..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: ci - -permissions: - contents: read - packages: write - -on: - workflow_dispatch: - push: - branches: - - 'main' - tags: - - 'v*' - pull_request: - branches: - - 'main' - -jobs: - docker: - runs-on: ubuntu-latest - steps: - - - name: Checkout - uses: actions/checkout@v4 - - - name: Docker meta - id: meta - uses: docker/metadata-action@v5 - with: - images: ghcr.io/${{ github.repository }} - tags: | - type=ref,event=tag - - - name: Login to GitHub Container Registry (GHCR) - if: github.event_name != 'pull_request' - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Build and push - uses: docker/build-push-action@v5 - with: - context: . - push: ${{ github.event_name != 'pull_request' }} - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }}