Bump version: 0.13.2rc2 → 0.13.2rc3 #17
Workflow file for this run
This file contains 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: Deploy-To-Docker | |
on: | |
push: | |
tags: | |
- "v*" | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
max-parallel: 4 | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Build image | |
run: | | |
docker build -f docker/Dockerfile -t wooey/wooey:latest . | |
docker tag wooey/wooey:latest wooey/wooey:${GITHUB_REF#refs/tags/} | |
- name: Upload image to Dockerhub | |
env: | |
DOCKERHUB_ACCESS_TOKEN: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }} | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
docker login --username wooeyservice -p ${{ secrets.DOCKERHUB_ACCESS_TOKEN }} | |
docker push wooey/wooey:latest | |
docker push wooey/wooey:${GITHUB_REF#refs/tags/} |