diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml deleted file mode 100644 index c77af69b0..000000000 --- a/.github/workflows/docker.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Go - -on: - push: - branches: - - 'master' - tags: - - 'v*' - -jobs: - docker: - runs-on: ubuntu-latest - permissions: - packages: write - steps: - - uses: actions/checkout@v4 - - name: Login to GitHub Container Registry - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - name: Build the Docker image - run: | - tag=latest - [[ "$GITHUB_REF" =~ ^refs/tags/ ]] && tag="${GITHUB_REF/refs\/tags\//}" - docker build . --tag "ghcr.io/carapace-sh/carapace:${tag}" - docker push "ghcr.io/carapace-sh/carapace:${tag}"