Skip to content

Docker

Docker #5

Workflow file for this run

name: Docker
on:
workflow_dispatch:
inputs:
tag:
description: 'Image tag to build'
required: true
type: string
default: 0.0.1
jobs:
build-image:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Login to ghcr
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push image
run: |
./build_and_push.sh ${{ github.event.inputs.tag }} ${{ secrets.GITHUB_TOKEN }}