Skip to content

Update install-packages.sh to overwrite symbolic link for nvim #58

Update install-packages.sh to overwrite symbolic link for nvim

Update install-packages.sh to overwrite symbolic link for nvim #58

name: Run Shared Build and Push Workflow for astro-nvim
on:
push:
branches:
- main
- master
paths:
- "astro-nvim/Dockerfile"
- "astro-nvim/*.sh"
workflow_dispatch:
jobs:
build_and_push_to_docker:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: See which repo we just cloned
if: ${{ vars.pipeline_debug == 'true' }}
run: ls -alh
shell: bash
- name: Build and push to DockerHub
uses: jabez007/docker-kitchen/.github/shared/docker@master
with:
context: ./astro-nvim
image-name: ${{ vars.DOCKER_USERNAME }}/astro-nvim
description: A portable installation of AstroNvim configured with a few community language packs
tag: latest
push: true
debug: ${{ vars.pipeline_debug }}
env:
DOCKER_USERNAME: ${{ vars.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_TOKEN }}
build_and_push_to_ghcr:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write # required if push is true
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: See which repo we just cloned
if: ${{ vars.pipeline_debug == 'true' }}
run: ls -alh
shell: bash
- name: Build and push to GHCR
uses: jabez007/docker-kitchen/.github/shared/ghcr@master
with:
context: ./astro-nvim
image-name: jabez007/astro-nvim
description: A portable installation of AstroNvim configured with a few community language packs
tag: latest
push: true
debug: ${{ vars.pipeline_debug }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}