Skip to content

fixup! Fix the Github build issue related to homebrew root detection #242

fixup! Fix the Github build issue related to homebrew root detection

fixup! Fix the Github build issue related to homebrew root detection #242

Workflow file for this run

---
name: "Tests"
on:
push:
branches-ignore:
- "main"
jobs:
gh_tests:
runs-on: "ubuntu-latest"
env:
UBUNTU_LTS_VERSION: "20.04"
steps:
- uses: "actions/[email protected]"
with:
lfs: true
fetch-depth: 0
- name: "Retrieve the short SHA"
id: "sha"
run: echo "::set-output name=value::$(echo ${GITHUB_SHA::8})"
- name: "Set up QEMU"
uses: "docker/setup-qemu-action@v3"
- name: "Set up Docker Buildx"
uses: "docker/setup-buildx-action@v3"
- name: "Publish to GitHub Packages"
uses: "docker/build-push-action@v5"
with:
context: .
file: "./Dockerfile"
build-args: |
UBUNTU_VERSION=${{ env.UBUNTU_LTS_VERSION }}
platforms: "linux/amd64"
load: true
tags: |
ghcr.io/marvinpinto/kitchensink:${{ env.UBUNTU_LTS_VERSION }}-latest
ghcr.io/marvinpinto/kitchensink:${{ env.UBUNTU_LTS_VERSION }}-${{ steps.sha.outputs.value }}