| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- name: Build-Docker
- on:
- workflow_dispatch:
- workflow_call:
- release:
- types: [released]
- env:
- CLOJURE_VERSION: '1.10.1.727'
- jobs:
- build-docker:
- runs-on: ubuntu-latest
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- fetch-depth: 1
- submodules: 'true'
- - name: Set up QEMU
- uses: docker/setup-qemu-action@v1
- - name: Set up Docker Buildx
- id: buildx
- uses: docker/setup-buildx-action@v1
- - name: Docker Login
- uses: docker/login-action@v1
- with:
- registry: ghcr.io
- username: ${{ github.repository_owner }}
- password: ${{ secrets.GITHUB_TOKEN }}
- - name: Build and push
- uses: docker/build-push-action@v2
- with:
- context: .
- platforms: linux/amd64,linux/arm64
- push: ${{ github.event_name != 'pull_request' }}
- tags: ghcr.io/${{ github.repository_owner }}/logseq-webapp:latest
|