Spaces:
Build error
Build error
| name: release | |
| on: | |
| release: # Docs: <https://git.io/JeBz1#release-event-release> | |
| types: [published] | |
| jobs: | |
| docker-image: | |
| name: Build docker image | |
| runs-on: ubuntu-20.04 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - {uses: gacts/github-slug@v1, id: slug} | |
| - uses: docker/setup-qemu-action@v2 | |
| - uses: docker/setup-buildx-action@v2 | |
| - uses: docker/login-action@v2 # Action page: <https://github.com/docker/login-action> | |
| with: | |
| username: ${{ secrets.DOCKER_LOGIN }} | |
| password: ${{ secrets.DOCKER_PASSWORD }} | |
| - uses: docker/login-action@v2 # Action page: <https://github.com/docker/login-action> | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - uses: docker/build-push-action@v4 # Action page: <https://github.com/docker/build-push-action> | |
| with: | |
| context: . | |
| push: true | |
| platforms: linux/amd64,linux/arm64 | |
| tags: | | |
| tarampampam/3proxy:${{ steps.slug.outputs.version-semantic }} | |
| tarampampam/3proxy:latest | |
| ghcr.io/${{ github.actor }}/3proxy:${{ steps.slug.outputs.version-semantic }} | |
| ghcr.io/${{ github.actor }}/3proxy:latest | |