Some checks failed
Create and publish a Docker image / docker (push) Failing after 13m17s
39 lines
No EOL
1 KiB
YAML
39 lines
No EOL
1 KiB
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
|
|
-
|
|
run: |
|
|
apt update; apt install --yes docker
|
|
-
|
|
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 |