Skip to content

fix: Add workaround to install homebrew in docker container #54

fix: Add workaround to install homebrew in docker container

fix: Add workaround to install homebrew in docker container #54

Workflow file for this run

name: DEV
permissions:
contents: read
packages: write
env:
REGISTRY: ghcr.io
IMAGE_NAME: dev
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
on:
workflow_dispatch:
push:
branches:
- main
paths:
- VERSION
- Dockerfile.dev
- config/.theme.omp.json
- provision/neovim/**
- provision/functions/**
- provision/scripts/dev/**
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- run: echo "${{ github.actor }}/${{ env.IMAGE_NAME }} will be built and pushed to ${{ env.REGISTRY }}"
- name: Checkout repository
uses: actions/checkout@v3
- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ env.ACCESS_TOKEN }}
- uses: actions/checkout@v1
- name: Build and push ${{ env.IMAGE_NAME }} image
uses: ./.github/actions/build-and-push-image
with:
image-name: ${{ env.IMAGE_NAME }}