Skip to content

Mega Docker Image

Mega Docker Image #19

Workflow file for this run

name: Mega Docker Image
on:
push:
paths:
- 'megacmd/**'
- '.github/workflows/mega.yaml'
schedule:
- cron: '0 0 * * 0'
jobs:
release:
name: Build and Release Deploy Image
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Log in to the Github Container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: all
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and Push images
uses: docker/build-push-action@v5
with:
context: megacmd
push: true
tags: ghcr.io/iaacautomation/megacmd:latest
platforms: linux/amd64
build-args: CHANNEL=nightly