From d2d2c2a227b098ccfed989dafb0b8e53555a426b Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Sun, 28 Apr 2024 20:35:15 +0300 Subject: [PATCH] CI: remove docker builds --- .github/workflows/docker.yml | 50 ------------------------------------ 1 file changed, 50 deletions(-) delete mode 100644 .github/workflows/docker.yml diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml deleted file mode 100644 index 1edfb05..0000000 --- a/.github/workflows/docker.yml +++ /dev/null @@ -1,50 +0,0 @@ -name: "Publish Docker Image" -on: - workflow_dispatch: - push: - tags: ["v*"] - -jobs: - build-docker-image: - name: "Build Docker Image" - runs-on: ubuntu-latest - - permissions: - contents: read - packages: write - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Install Nix - uses: DeterminateSystems/nix-installer-action@main - - name: Magic Nix Cache - uses: DeterminateSystems/magic-nix-cache-action@main - - - name: Build Docker Image - run: nix build .#docker-nix --print-build-logs - - - name: Load & Tag Built Docker Image - run: | - docker load -i result && - docker tag neovim-flake:latest notashelf/neovim-flake:latest - - - name: Log into DockerHub - uses: docker/login-action@master - with: - username: notashelf - password: ${{ secrets.DOCKER_ACCESS_TOKEN }} - - - name: Push to DockerHub - run: docker push notashelf/neovim-flake:latest - - - name: Log into ghcr - uses: docker/login-action@master - with: - registry: "ghcr.io" - username: "${{ github.actor }}" - password: "${{ secrets.GITHUB_TOKEN }}" - - - name: Publish Docker Image (Github Packages) - run: docker push notashelf/neovim-flake:latest