fixup! Fix the Github build issue related to homebrew root detection #241
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: "Tests" | |
on: | |
push: | |
branches-ignore: | |
- "main" | |
jobs: | |
gh_tests: | |
runs-on: "ubuntu-latest" | |
env: | |
UBUNTU_LTS_VERSION: "20.04" | |
steps: | |
- uses: "actions/checkout@v2.4.0" | |
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 }} |