Skip to content

HOTFIX: Update iprose-go to v0.1.0-rc12 #37

HOTFIX: Update iprose-go to v0.1.0-rc12

HOTFIX: Update iprose-go to v0.1.0-rc12 #37

Workflow file for this run

name: "on release: build the main with tags"
on:
push:
tags:
- v* # match on any version tags
jobs:
build:
name: Build the release image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get the version
id: get_version
run: echo ::set-output name=TAG_VERSION::${GITHUB_REF/refs\/tags\//}
- name: login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: "build and push image"
uses: docker/build-push-action@v2
with:
context: .
file: Dockerfile
push: true
tags: vpnhouse/tunnel:${{ steps.get_version.outputs.TAG_VERSION }}