first commit
Some checks failed
Docker / build (push) Failing after 21s

This commit is contained in:
Sthope 2025-03-18 20:37:03 +01:00
parent aadce02bdd
commit 6b0bfb8b51

View File

@ -20,7 +20,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v2 # Corrected to v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
@ -32,19 +32,19 @@ jobs:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}
- name: Extract repository name
- name: Docker.io repository name
if: ${{ env.REGISTRY == 'docker.io' }}
id: repo_name
run: |
echo "IMAGE_NAME=${{ env.USER }}/${{ env.IMAGE }}:${{ env.RELEASE }}" >> $GITHUB_ENV
echo "1:$IMAGE_NAME"
echo "1: ${{ env.IMAGE_NAME }}" # This is for debugging, optional
- name: Extract repository name
- name: Github repository name
if: ${{ env.REGISTRY == 'ghcr.io' }}
id: repo_name
run: |
echo "IMAGE_NAME=${{ env.REGISTRY }}/${{ env.USER }}/${{ env.IMAGE }}:${{ env.RELEASE }}" >> $GITHUB_ENV
echo "1:$IMAGE_NAME"
echo "2: ${{ env.IMAGE_NAME }}" # This is for debugging, optional
- name: Build and push
uses: docker/build-push-action@v6