Skip to content

Merge pull request #2 from maruina/update-deps #5

Merge pull request #2 from maruina/update-deps

Merge pull request #2 from maruina/update-deps #5

Workflow file for this run

name: Release
on:
push:
tags:
- '*'
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Get tag
uses: olegtarasov/get-tag@v2.1
id: tagName
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push tagged docker image on master
uses: docker/build-push-action@v2.3.0
with:
push: true
tags: maruina/docker-grpc-health-probe:${{ steps.tagName.outputs.tag }}