Skip to content

Update actions/checkout action to v4.1.7 (#6) #3

Update actions/checkout action to v4.1.7 (#6)

Update actions/checkout action to v4.1.7 (#6) #3

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/[email protected]
with:
registry: ghcr.io
platforms: linux/amd64,linux/arm64
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push Container Image
uses: docker/[email protected]
with:
push: true
tags: |
ghcr.io/${{ github.repository }}:latest
ghcr.io/${{ github.repository }}:${{ github.sha }}