Skip to content

Update upload script by adding -s option to curl calls #27

Update upload script by adding -s option to curl calls

Update upload script by adding -s option to curl calls #27

Workflow file for this run

name: Docker
on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+**
jobs:
release:
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Prepare Version
id: prep
run: |
echo ::set-output name=version::${GITHUB_REF#refs/tags/v}
- name: Login to GitHub Docker Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
tags: |
ghcr.io/itcr-uni-luebeck/termite:latest
ghcr.io/itcr-uni-luebeck/termite:${{ steps.prep.outputs.version }}
push: true