Skip to content

Commit

Permalink
Ignore msi for now and test docker job
Browse files Browse the repository at this point in the history
  • Loading branch information
pka committed Nov 24, 2021
1 parent a3fa0db commit c6c587d
Showing 1 changed file with 20 additions and 18 deletions.
38 changes: 20 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit c6c587d

Please sign in to comment.