Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Dependabot configuration for keeping GitHub Actions up to date
# This configuration enables automatic updates for GitHub Actions dependencies
# to ensure the workflows use the latest secure versions.

version: 2
updates:
# Monitor GitHub Actions dependencies
- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates weekly on Mondays
interval: "weekly"
day: "monday"
time: "06:00"
timezone: "Europe/Paris"
# Limit the number of open pull requests
open-pull-requests-limit: 5
# Add labels to PRs
labels:
- "dependencies"
- "github-actions"
# Commit message configuration
commit-message:
prefix: "chore(deps)"
include: "scope"
# Group all GitHub Actions updates into a single PR
groups:
github-actions:
patterns:
- "*"
9 changes: 4 additions & 5 deletions .github/workflows/build-and-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ jobs:
docker.io/obeoneorg/traefik_network_connector
tags: |
# For pushes to the 'main' branch, tag the image as 'latest'.
type=ref,event=branch,enable=${{ github.ref_name == 'main' }},prefix=,suffix=latest
type=raw,value=latest,enable=${{ github.ref_name == 'main' }}
# For 'v*.*.*' tags, generate SemVer tags (e.g., v1.2.3, v1.2, v1).
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
Expand All @@ -135,7 +135,7 @@ jobs:
- name: Build and push (multi-repo)
if: steps.gatekeeper.outputs.run_build == 'true'
id: build-and-push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
Expand All @@ -144,8 +144,7 @@ jobs:
linux/amd64
linux/arm64
linux/i386
linux/armhf
linux/armel
linux/arm/v7
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
Expand Down Expand Up @@ -190,4 +189,4 @@ jobs:
for image in "${IMAGES[@]}"; do
echo "Signing ${image}@${DIGEST}"
cosign sign --yes "${image}@${DIGEST}"
done
done
34 changes: 28 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ jobs:
fi

echo "All conditions met. Proceeding with the release process."
echo "authorized=true" >> $GITHUB_OUTPUT"
echo "on_main=true" >> $GITHUB_OUTPUT"
echo "authorized=true" >> $GITHUB_OUTPUT
echo "on_main=true" >> $GITHUB_OUTPUT

# Step 4: Create a GitHub Release and Generate Changelog.
# This step is conditionally executed only if the 'check_conditions' step
Expand All @@ -83,13 +83,35 @@ jobs:
with:
# The action automatically infers the tag name from the Git reference (github.ref_name).
name: Release ${{ github.ref_name }}

# Enables the automatic generation of release notes, leveraging the action's built-in capabilities.
generateReleaseNotes: true


# Add Docker image links to release body
body: |
## Docker Images

This release is available as multi-platform Docker images on both GitHub Container Registry and Docker Hub:

### GitHub Container Registry (GHCR)
```bash
docker pull ghcr.io/obeone/auto_docker_proxy:${{ github.ref_name }}
docker pull ghcr.io/obeone/traefik_network_connector:${{ github.ref_name }}
```

### Docker Hub
```bash
docker pull obeoneorg/auto_docker_proxy:${{ github.ref_name }}
docker pull obeoneorg/traefik_network_connector:${{ github.ref_name }}
```

**Supported Platforms:** linux/amd64, linux/arm64, linux/arm/v7

All images are signed with [Cosign](https://github.com/sigstore/cosign) for supply chain security.

draft: false # Publishes the release immediately, rather than as a draft.
prerelease: false # Designates the release as a full, stable release.

# The GITHUB_TOKEN is automatically provided by GitHub Actions,
# granting the necessary permissions for creating the release.
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,6 @@ venv.bak/
# Misc
.history
/test

# Claude
/.claude
Loading