Skip to content

Merge pull request #89 from mesosphere/mh/add-release-job #1

Merge pull request #89 from mesosphere/mh/add-release-job

Merge pull request #89 from mesosphere/mh/add-release-job #1

Workflow file for this run

name: release
on:
push:
tags:
- "*"
workflow_dispatch: {}
jobs:
build:
name: Release
runs-on:
- self-hosted-nutanix-dind-large
steps:
- uses: actions/checkout@v4
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Setup buildkit
uses: docker/setup-buildx-action@v3
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: mesosphere/traefik-forward-auth
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}