Clean-up a bit
All checks were successful
Release / Release (push) Successful in 10s

This commit is contained in:
Bill Niblock 2024-06-13 21:29:14 -04:00
parent 57e5530cdd
commit 776e1472d8

View file

@ -9,8 +9,6 @@ on:
env: env:
REGISTRY: forge.niblock.tech REGISTRY: forge.niblock.tech
REGISTRY_USERNAME: niblock
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_TOKEN }}
jobs: jobs:
release: release:
@ -21,32 +19,24 @@ jobs:
steps: steps:
- name: Checkout the repository - name: Checkout the repository
uses: actions/checkout@v4 uses: actions/checkout@v4
# - name: Setup Buildx
# uses: https://code.forgejo.org/docker/setup-buildx-action@v3
# - name: Build
# run: |
# buildx build .docker/latest
- name: Login to the NibTech Container Registry - name: Login to the NibTech Container Registry
uses: https://code.forgejo.org/docker/login-action@v3 uses: https://code.forgejo.org/docker/login-action@v3
with: with:
registry: ${{ env.REGISTRY }} registry: ${{ env.REGISTRY }}
username: ${{ env.REGISTRY_USERNAME }} username: niblock
password: ${{ env.REGISTRY_PASSWORD }} password: ${{ secrets.REGISTRY_TOKEN }}
- name: Extract repository metadata (tags, labels) - name: Extract repository metadata (tags, labels)
id: meta id: meta
uses: https://github.com/docker/metadata-action@v5 uses: https://github.com/docker/metadata-action@v5
with: with:
images: ${{ env.REGISTRY }}/${{ env.REGISTRY_IMAGE_NAME }} images: ${{ env.REGISTRY }}/${{ env.GITHUB_REPOSITORY }}
- name: Build and publish Alpine Latest - name: Build and publish latest container
uses: https://code.forgejo.org/docker/build-push-action@v5 uses: https://code.forgejo.org/docker/build-push-action@v5
with: with:
context: .docker/latest context: .docker/latest
push: true push: true
tags: | tags: ${{ steps.meta.outputs.tags }}
${{ env.REGISTRY }}/${{ env.REGISTRY_IMAGE_NAME }}:latest
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}