Skip to content

v2.0.1

v2.0.1 #51

Workflow file for this run

name: CI
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push image
uses: docker/build-push-action@v4
env:
DOCKER_IMAGE_TAG: hectorgomezv1/auth-service:${{ github.ref_name }}
with:
push: true
tags: ${{ env.DOCKER_IMAGE_TAG }}