Try just buildx without registry concerns
All checks were successful
Release / Release (push) Successful in 16s

This commit is contained in:
Bill Niblock 2024-06-13 11:53:57 -04:00
parent b85e614d9a
commit ba78c7faea

View file

@ -24,24 +24,28 @@ jobs:
- name: Setup Buildx - name: Setup Buildx
uses: https://code.forgejo.org/docker/setup-buildx-action@v3 uses: https://code.forgejo.org/docker/setup-buildx-action@v3
- name: Login to the NibTech Container Registry - name: Build
uses: https://code.forgejo.org/docker/login-action@v3 run: |
with: buildx build .docker/latest
registry: ${{ env.REGISTRY }}
username: ${{ env.REGISTRY_USERNAME }}
password: ${{ env.REGISTRY_PASSWORD }}
- name: Extract repository metadata (tags, labels) # - name: Login to the NibTech Container Registry
id: meta # uses: https://code.forgejo.org/docker/login-action@v3
uses: https://github.com/docker/metadata-action@v5 # with:
with: # registry: ${{ env.REGISTRY }}
images: ${{ env.REGISTRY }}/${{ env.REGISTRY_IMAGE_NAME }} # username: ${{ env.REGISTRY_USERNAME }}
# password: ${{ env.REGISTRY_PASSWORD }}
- name: Build and publish Alpine Latest # - name: Extract repository metadata (tags, labels)
uses: https://code.forgejo.org/docker/build-push-action@v5 # id: meta
with: # uses: https://github.com/docker/metadata-action@v5
context: .docker/latest # with:
push: true # images: ${{ env.REGISTRY }}/${{ env.REGISTRY_IMAGE_NAME }}
tags: |
${{ env.REGISTRY }}/${{ env.REGISTRY_IMAGE_NAME }}:latest # - name: Build and publish Alpine Latest
labels: ${{ steps.meta.outputs.labels }} # uses: https://code.forgejo.org/docker/build-push-action@v5
# with:
# context: .docker/latest
# push: true
# tags: |
# ${{ env.REGISTRY }}/${{ env.REGISTRY_IMAGE_NAME }}:latest
# labels: ${{ steps.meta.outputs.labels }}