Update build
Some checks failed
Lint / lint (push) Failing after 6s
release-tag / release-image (push) Failing after 16s

This commit is contained in:
Logan Cusano
2025-10-23 03:22:17 -04:00
parent ee06ab88a6
commit f1959e08e7

View File

@@ -8,9 +8,12 @@ on:
jobs:
release-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
env:
DOCKER_LATEST: stable
CONTAINER_NAME: drb-client-discord-bot
CONTAINER_NAME: op25-client
steps:
- name: Checkout
uses: actions/checkout@v4
@@ -20,24 +23,24 @@ jobs:
- name: Set up Docker BuildX
uses: docker/setup-buildx-action@v3
with: # replace it with your local IP
with:
config-inline: |
[registry."git.vpn.cusano.net"]
http = false
insecure = false
insecure = false
- name: Login to DockerHub
- name: Login to Gitea Container Registry
uses: docker/login-action@v3
with:
registry: git.vpn.cusano.net # replace it with your local IP
username: ${{ secrets.GIT_REPO_USERNAME }}
password: ${{ secrets.GIT_REPO_PASSWORD }}
registry: git.vpn.cusano.net
username: ${{ github.actor }} # Uses the user or bot that triggered the workflow
password: ${{ secrets.GITHUB_TOKEN }} # The built-in, temporary token
- name: Get Meta
id: meta
run: |
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT
echo REPO_VERSION=$(git describe --tags --always | sed 's/^v//') >> $GITHUB_OUTPUT
echo REPO_VERSION=$(git describe --tags --always | sed 's/^v//') >> $GITHUB_OUTPUT
- name: Validate build configuration
uses: docker/build-push-action@v6
@@ -52,6 +55,6 @@ jobs:
platforms: |
linux/arm64
push: true
tags: | # replace it with your local IP and tags
tags: |
git.vpn.cusano.net/${{ vars.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}/${{ env.CONTAINER_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}
git.vpn.cusano.net/${{ vars.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}/${{ env.CONTAINER_NAME }}:${{ env.DOCKER_LATEST }}
git.vpn.cusano.net/${{ vars.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}/${{ env.CONTAINER_NAME }}:${{ env.DOCKER_LATEST }}