mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-07 13:45:58 +01:00
CI: remove docker builds
This commit is contained in:
parent
fde298805c
commit
d2d2c2a227
1 changed files with 0 additions and 50 deletions
50
.github/workflows/docker.yml
vendored
50
.github/workflows/docker.yml
vendored
|
@ -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
|
Loading…
Reference in a new issue