name: Docker on: push: branches: [master] tags: ["v*"] workflow_dispatch: jobs: build-and-push: runs-on: docker steps: - name: Checkout uses: actions/checkout@v4 - name: Build and publish image uses: http://forgejo:3000/andras/ci-actions/docker-publish@main with: context: . # The published image is deployed at https://schmelczer.dev/towers/, # so the SPA is built with that sub-path baked into and # the service-worker manifest. Change this if the deploy path changes. build-args: | BASE_HREF=/towers/ token: ${{ secrets.FORGEJO_PACKAGE_TOKEN }}