Skip to content

Commit

Permalink
Merge pull request #3 from mariuszlip/TECH-ARM64
Browse files Browse the repository at this point in the history
TECH-ARM64 | ML | Publish ARM64 and AMD64 images to Docker Hub
  • Loading branch information
mmgcarlos authored Jan 29, 2025
2 parents d518f95 + 2129623 commit d12b90a
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/publish-to-hub.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Publish to docker hub
on:
workflow_dispatch:
inputs:
image_version:
type: string

jobs:
release:
name: Build and release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup QEMU
uses: docker/setup-qemu-action@v3
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build and release
uses: docker/build-push-action@v6
with:
platforms: linux/arm64,linux/amd64
tags: mergermarket/c6-mono-runtime:${{ inputs.image_version }},mergermarket/c6-mono-runtime:latest
push: true
context: .

0 comments on commit d12b90a

Please sign in to comment.