From 8b4be66d6774f63e9b972c2c831dcfa5ba9c64c2 Mon Sep 17 00:00:00 2001 From: Galo Navarro Date: Tue, 21 Nov 2023 20:57:46 +0100 Subject: [PATCH] Remove test docker image Signed-off-by: Galo Navarro --- .github/workflows/release_dockerfile.yml | 46 ------------------------ Dockerfile.release | 12 ------- 2 files changed, 58 deletions(-) delete mode 100644 .github/workflows/release_dockerfile.yml delete mode 100644 Dockerfile.release diff --git a/.github/workflows/release_dockerfile.yml b/.github/workflows/release_dockerfile.yml deleted file mode 100644 index 03dd6eb..0000000 --- a/.github/workflows/release_dockerfile.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: Create and publish a Docker image - -on: - workflow_dispatch: - inputs: - release_tag: - description: 'Tag to publish' - required: true - -env: - REGISTRY: ghcr.io - IMAGE_NAME: ${{ github.repository }} - -jobs: - build-and-push-image: - runs-on: ubuntu-latest - permissions: - contents: read - packages: write - steps: - - - name: Checkout repository - uses: actions/checkout@v4 - with: - ref: ${{ inputs.release_tag }} - - - name: Set up Go - uses: actions/setup-go@v3 - with: - go-version: "1.18" - check-latest: true - cache: true - - - name: Build - run: make build - - - name: Log in to the Container registry - uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 - with: - registry: ${{ env.REGISTRY }} - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Build and push image - run: | - docker build -t ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ inputs.release_tag}} -f Dockerfile.release . diff --git a/Dockerfile.release b/Dockerfile.release deleted file mode 100644 index 4ba76f6..0000000 --- a/Dockerfile.release +++ /dev/null @@ -1,12 +0,0 @@ -FROM alpine:3.17.2 - -LABEL "com.github.actions.name"="Condition-based Pull Request labeller" \ - "com.github.actions.description"="Automatically label pull requests based on rules" \ - "com.github.actions.icon"="award" \ - "com.github.actions.color"="blue" \ - "maintainer"="Galo Navarro " \ - "repository"="https://github.com/srvaroa/labeler" - -WORKDIR / -ADD action /action -ENTRYPOINT ["/action"]