Fixed upload_url lacking filename #30
This file contains hidden or 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: Docker Worker | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| paths: | |
| - 'workers/**' | |
| tags: | |
| - 'workers-**' | |
| workflow_dispatch: | |
| jobs: | |
| manager: | |
| name: Deploy Worker Image | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v3.4.0 | |
| - name: Publish Docker Image | |
| uses: openzim/docker-publish-action@v10 | |
| with: | |
| image-name: offspot/imager-worker | |
| on-master: latest | |
| restrict-to: offspot/imager-service | |
| context: workers | |
| registries: ghcr.io | |
| credentials: | |
| GHCRIO_USERNAME=${{ secrets.GHCR_USERNAME }} | |
| GHCRIO_TOKEN=${{ secrets.GHCR_TOKEN }} |