Skip to content

Commit

Permalink
Merge pull request #8 from szaimen/enh/noid/second-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
szaimen authored Sep 27, 2023
2 parents 178b3f2 + ec53229 commit 6a57e4e
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 116 deletions.
54 changes: 0 additions & 54 deletions .github/workflows/build_image.yml

This file was deleted.

42 changes: 42 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Docker Build and Publish

on:
workflow_dispatch:
inputs:
tagName:
description: "Tag name"
required: true
default: 'latest'

jobs:
push_to_registry:
runs-on: ubuntu-latest

name: Build docker image and push to dockerhub

steps:
- name: Check out the repo
uses: actions/checkout@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build container image
uses: docker/build-push-action@v2
with:
push: true
platforms: linux/amd64,linux/arm64
context: './'
no-cache: true
file: 'Dockerfile'
tags: szaimen:${{ github.event.inputs.tagName }}
provenance: false
32 changes: 0 additions & 32 deletions .github/workflows/promote-to-beta.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/workflows/promote-to-latest.yml

This file was deleted.

0 comments on commit 6a57e4e

Please sign in to comment.