Skip to content

Docker Image CI

Docker Image CI #29

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main" ]
workflow_dispatch:
# pull_request:
# branches: [ "main" ]
jobs:
build:
runs-on: [self-hosted]
# defaults:
# run:
# shell: sh
# run:
# working-directory: static
steps:
# - name: Check Docker installation
# run: docker --version
# - name: Check Docker Info
# run: docker info
# - run: sudo -i
# - name: Setup Docker
# uses: docker-practice/actions-setup-docker@master
# timeout-minutes: 12
- name: Checkout
uses: actions/checkout@v4
# - name: Setup Qumu
# uses: docker/setup-qemu-action@v3
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v5
with:
context: ./static
file: ./static/Dockerfile
platforms: linux/arm64
push: true
tags: localhost:5000/comtily:${{ github.sha }}