Skip to content

Upgrade: bump docker/metadata-action from 4 to 5 #27

Upgrade: bump docker/metadata-action from 4 to 5

Upgrade: bump docker/metadata-action from 4 to 5 #27

Workflow file for this run

---
name: pr
on:
pull_request
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
steps:
- uses: actions/checkout@v3
- uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository }}
- uses: docker/build-push-action@v4
with:
context: rootfs/
push: false
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}