diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 895e289..75be60a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -177,7 +177,8 @@ jobs: retention-days: 1 release: - needs: [tgz, deb, rpm, msi] + # needs: [tgz, deb, rpm, msi] + needs: [tgz, deb, rpm] runs-on: ubuntu-latest steps: - name: Retrieve saved artefacts @@ -192,21 +193,22 @@ jobs: body: | See [CHANGELOG](https://github.com/t-rex-tileserver/t-rex/blob/master/CHANGELOG.md) files: packages/* + prerelease: true - # docker-release: - # name: Docker release - # needs: [release] - # runs-on: ubuntu-latest - # steps: - # - uses: actions/checkout@v2 - # - name: Build and publish - # uses: elgohr/Publish-Docker-Github-Action@master - # env: - # DEB_URL: https://github.com/t-rex-tileserver/t-rex/releases/download/v$(basename ${{ github.ref }})/t-rex_$(basename ${{ github.ref }})-1.focal_amd64.deb - # with: - # name: sourcepole/t-rex - # username: ${{ secrets.DOCKER_USERNAME }} - # password: ${{ secrets.DOCKER_PASSWORD }} - # workdir: packaging/docker - # buildargs: DEB_URL - # tag_names: true + docker-release: + name: Docker release + needs: [release] + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Build and publish + uses: elgohr/Publish-Docker-Github-Action@master + env: + DEB_URL: https://github.com/t-rex-tileserver/t-rex/releases/download/v$(basename ${{ github.ref }})/t-rex_$(basename ${{ github.ref }})-1.focal_amd64.deb + with: + name: sourcepole/t-rex + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + workdir: packaging/docker + buildargs: DEB_URL + tag_names: true