Skip to content

Pin docker/setup-qemu-action action to 6882732 (#14) #11

Pin docker/setup-qemu-action action to 6882732 (#14)

Pin docker/setup-qemu-action action to 6882732 (#14) #11

Workflow file for this run

# Copyright 2024 Dotanuki Labs
# SPDX-License-Identifier: MIT
name: CD
on:
push:
branches:
- main
permissions:
packages: write
contents: read
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- name: Project Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Log in to Github Container Registry
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0
- name: Push Container Image
uses: docker/build-push-action@31159d49c0d4756269a0940a750801a1ea5d7003 # v6.1.0
with:
push: true
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/${{ github.repository }}:latest
ghcr.io/${{ github.repository }}:${{ github.sha }}