blog/.forgejo/workflows/publish.yml
William Floyd 3a9c9b6cc5
Some checks are pending
Create and publish a Docker image / docker (push) Waiting to run
test
2025-04-10 14:39:32 -05:00

36 lines
No EOL
960 B
YAML

name: Create and publish a Docker image
on: [push]
jobs:
docker:
runs-on: docker
permissions:
contents: read
packages: write
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
# -
# name: Log in to the Container registry
# uses: docker/login-action@v3
# with:
# registry: ${{ env.REGISTRY }}
# username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }}
# -
# name: Docker metadata
# id: meta
# uses: docker/metadata-action@v5
# with:
# images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
# -
# name: Build and push
# uses: https://github.com/docker/build-push-action@v6
# with:
# push: true