Skip to content

v.0.10.0

v.0.10.0 #4

Workflow file for this run

name: Publish Docker image
on:
release:
types: [published]
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/[email protected]
with:
username: mobiltracker
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
- name: Build and push Docker image
uses: docker/[email protected]
env:
GITHUB_REF: ${{ github.ref }}
with:
context: .
push: true
tags: |
mobiltracker/prometheus-mssql-exporter:latest
mobiltracker/prometheus-mssql-exporter:${GITHUB_REF#refs/tags/}