Skip to content

Shower

Shower #168

Workflow file for this run

name: push
on:
push: {}
jobs:
buildkit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Ensure download script is in the right path
run: test -f .godownloader.sh
- name: Log in to GitHub Container Registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- run: DOCKER_BUILDKIT=1 docker build -o=. --platform=local .
- run: ./monkey version
# - run: echo LINUX=$(sha256sum ./monkey | awk '{print $1}') >>$GITHUB_ENV
# # No docker on macos
# - run: DOCKER_BUILDKIT=1 docker build --platform=darwin/amd64 -o . .
# - run: echo DARWIN=$(sha256sum ./monkey | awk '{print $1}') >>$GITHUB_ENV
# - run: [[ "$DARWIN" != "$LINUX" ]]
# # invalid windows mount type: 'bind'
# - run: DOCKER_BUILDKIT=1 docker build --platform=windows/amd64 -o . .
# - run: echo WINDOWS=$(sha256sum ./monkey.exe | awk '{print $1}') >>$GITHUB_ENV
# - run: [[ "$WINDOWS" != "$LINUX" ]]
# - run: [[ "$WINDOWS" != "$DARWIN" ]]