Update workflow

This commit is contained in:
2025-07-01 21:30:45 +05:30
parent 3f550a3bc0
commit 57daf0c61c

View File

@@ -5,9 +5,6 @@ on:
branches: [ "main" ]
paths-ignore:
- '**/README.md'
env:
IMAGE_NAME: ryuupendragon/caddy-crowdsec
VERSION: 2.10.0
jobs:
docker-build-and-publish:
@@ -22,13 +19,6 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ secrets.GH_USERNAME }}
password: ${{ secrets.GH_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
@@ -38,6 +28,6 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64/v8
platforms: linux/amd64,linux/arm64/v8,linux/arm/v7
push: true
tags: ${{ env.IMAGE_NAME }}:${{ env.VERSION }} , ${{ env.IMAGE_NAME }}:latest , ghcr.io/${{ env.IMAGE_NAME }}:${{ env.VERSION }} , ghcr.io/${{ env.IMAGE_NAME }}:latest
tags: ryuupendragon/caddy:2.10.0 , ryuupendragon/caddy:latest