Skip to content

Bump actions/checkout from 3 to 4 (#10) #4

Bump actions/checkout from 3 to 4 (#10)

Bump actions/checkout from 3 to 4 (#10) #4

Workflow file for this run

name: Build and publish Docker image
on:
push:
branches:
- 'main'
jobs:
build-image:
name: Build Docker image
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to GitHub Packages
uses: docker/build-push-action@v5.0.0
with:
push: true
tags: ghcr.io/${{ github.repository }}:latest, ghcr.io/${{ github.repository }}:${{ github.run_number }}