Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
3480067
Build(deps): bump aquasecurity/trivy-action from 0.24.0 to 0.28.0
dependabot[bot] Oct 21, 2024
ad8eb0a
chore(update): cloudflared v2024.10.1
visibilityspots Oct 24, 2024
c4bc296
fix(ci): using AWS based trivy repositories to mitigate TOOMANYREQUES…
visibilityspots Oct 24, 2024
ba8d716
docs: update CHANGELOG.md for v2024.10.1 [skip ci]
visibilityspots Oct 24, 2024
7204849
feat(ci): making workflow reusable
visibilityspots Oct 25, 2024
fc789e4
feat(ci): removing not used env: block
visibilityspots Oct 25, 2024
a80a2cd
chore(update): Golang v1.23.3 + Cloudflared v2024.11.0
visibilityspots Nov 7, 2024
62ae30a
docs: update CHANGELOG.md for v2024.11.0 [skip ci]
visibilityspots Nov 7, 2024
fd2bdb7
chore(ci): trigger docker-hub-description on every push
visibilityspots Nov 7, 2024
b2f7347
feat(ci): adding reusable workflow parameters + refactored some of them
visibilityspots Nov 7, 2024
efbfdab
chore(ci): figuring out parameters
visibilityspots Nov 7, 2024
2eb1c3f
fix(ci): short-description indentation fixed
visibilityspots Nov 7, 2024
9a603da
fix(ci): using var for DOCKERHUB_USERNAME instead of default
visibilityspots Nov 7, 2024
53bea8d
fix(ci): using env var over inputs
visibilityspots Nov 7, 2024
edab8f3
fix(ci): used wrong DOCKERHUB_REPOSITORY value due to copy paste
visibilityspots Nov 7, 2024
6a91e0d
feat(ci): make trivy workflow reusable
visibilityspots Nov 7, 2024
37a80e8
feat(ci): make main workflow reusable
visibilityspots Nov 7, 2024
72aa91f
chore(revert): removed last release to test ci chain
visibilityspots Nov 7, 2024
7ef5855
docs: update CHANGELOG.md for v2024.11.0 [skip ci]
visibilityspots Nov 7, 2024
a859394
chore(ci): refactored workflows
visibilityspots Nov 7, 2024
c709aa9
chore(revert): removed last release to test ci chain
visibilityspots Nov 7, 2024
b399b95
docs: update CHANGELOG.md for v2024.11.0 [skip ci]
visibilityspots Nov 7, 2024
dd577e7
chore(ci): standardized yml extension
visibilityspots Nov 7, 2024
52d3450
fix(README): referring to yml main workflow over yaml one
visibilityspots Nov 7, 2024
f4a8d30
feat(ci): make GOSS_CMD vars param
visibilityspots Nov 7, 2024
af0505a
chore(ci): renamed a few actions + playing around with GOSS_CMD param…
visibilityspots Nov 8, 2024
bde02e7
clean changelog for retry of commit
visibilityspots Nov 8, 2024
3c0bb42
docs: update CHANGELOG.md for v2024.11.0 [skip ci]
visibilityspots Nov 8, 2024
13e7bb9
chore(ci): using secret for GOSS_CMD
visibilityspots Nov 19, 2024
efaa11d
chore(update): Cloudflared v2024.11.1
visibilityspots Nov 19, 2024
309e3ab
docs: update CHANGELOG.md for v2024.11.1 [skip ci]
visibilityspots Nov 19, 2024
396f777
chore(ci): disable requirement on DOCKERHUB_TOKEN to test inheritance
visibilityspots Nov 20, 2024
d0da83c
Revert "chore(ci): disable requirement on DOCKERHUB_TOKEN to test inh…
visibilityspots Nov 20, 2024
3c1fce0
feat(ci): introducing parameterized DOCKERHUB_PLATFORMS
visibilityspots Nov 20, 2024
4b30f3b
Build(deps): bump aquasecurity/trivy-action from 0.28.0 to 0.29.0
dependabot[bot] Nov 25, 2024
a4132ca
chore(update): Cloudflared v2024.12.0 + Golang v1.23.4
visibilityspots Dec 10, 2024
389a483
docs: update CHANGELOG.md for v2024.12.0 [skip ci]
visibilityspots Dec 10, 2024
b5d844e
fix(ci): default value for DOCKERHUB_PLATFORMS
visibilityspots Dec 10, 2024
5ce16f6
chore(update): Cloudflared v2024.12.1
visibilityspots Dec 11, 2024
e23d3e6
docs: update CHANGELOG.md for v2024.12.1 [skip ci]
visibilityspots Dec 11, 2024
126bd9d
chore(update): Alpine v3.21
visibilityspots Dec 12, 2024
2c82345
chore(ci): using ubuntu-24.04 for github action runners
visibilityspots Dec 14, 2024
8d621d5
chore(update): Cloudflared v2024.12.2
visibilityspots Dec 19, 2024
cfff25f
docs: update CHANGELOG.md for v2024.12.2 [skip ci]
visibilityspots Dec 19, 2024
e77a264
chore(update): Cloudflared v2025.1.0
visibilityspots Jan 7, 2025
64029b8
docs: update CHANGELOG.md for v2025.1.0 [skip ci]
visibilityspots Jan 7, 2025
2a045a0
chore(update): Cloudflared v2025.1.1
visibilityspots Jan 30, 2025
ab6ec79
docs: update CHANGELOG.md for v2025.1.1 [skip ci]
visibilityspots Jan 30, 2025
e97e76a
chore(doc): using udp port forwarding over net host mode in docker ru…
visibilityspots Feb 5, 2025
5d4b3b5
chore(update): golang v1.23.6 + cloudflared v2025.2.0
visibilityspots Feb 5, 2025
6a5ac80
docs: update CHANGELOG.md for v2025.2.0 [skip ci]
visibilityspots Feb 5, 2025
df22578
chore(update): chore(update): golang v1.24.0 + cloudflared v2025.2.1
visibilityspots Feb 27, 2025
4256f37
docs: update CHANGELOG.md for v2025.2.1 [skip ci]
visibilityspots Feb 27, 2025
ed178e9
Build(deps): bump docker/login-action from 3.3.0 to 3.4.0
dependabot[bot] Mar 17, 2025
73d3028
Build(deps): bump aquasecurity/trivy-action from 0.29.0 to 0.30.0
dependabot[bot] Mar 17, 2025
6839f99
chore(update): Cloudflared v2025.4.0
visibilityspots Apr 6, 2025
3213ddf
docs: update CHANGELOG.md for v2025.4.0 [skip ci]
visibilityspots Apr 6, 2025
0cc2e1e
chore(update): Cloudflared v2025.4.2
visibilityspots Apr 30, 2025
9f36693
docs: update CHANGELOG.md for v2025.4.2 [skip ci]
visibilityspots Apr 30, 2025
784a116
chore(update): Cloudflared v2025.5.0
visibilityspots May 15, 2025
df4d203
docs: update CHANGELOG.md for v2025.5.0 [skip ci]
visibilityspots May 15, 2025
93a2a95
chore(update): Cloudflared v2025.6.0
visibilityspots Jun 11, 2025
753e3ac
Build(deps): bump aquasecurity/trivy-action from 0.30.0 to 0.31.0
dependabot[bot] Jun 9, 2025
5e0d855
docs: update CHANGELOG.md for v2025.6.0 [skip ci]
visibilityspots Jun 11, 2025
1fa9b6e
chore(update): Cloudflared v2025.6.1
visibilityspots Jun 17, 2025
3ee25df
docs: update CHANGELOG.md for v2025.6.1 [skip ci]
visibilityspots Jun 17, 2025
2d3bad6
Build(deps): bump stefanzweifel/git-auto-commit-action from 5 to 6
dependabot[bot] Jun 16, 2025
deaaf1d
chore(update): Cloudflared v2025.7.0
visibilityspots Jul 3, 2025
a962bc9
docs: update CHANGELOG.md for v2025.7.0 [skip ci]
visibilityspots Jul 3, 2025
aab1ef0
Build(deps): bump aquasecurity/trivy-action from 0.31.0 to 0.32.0
dependabot[bot] Jul 7, 2025
82860c2
chore(update): Cloudflared v2025.8.0
visibilityspots Aug 11, 2025
de21a7f
Build(deps): bump docker/login-action from 3.4.0 to 3.5.0
dependabot[bot] Aug 11, 2025
54525a6
docs: update CHANGELOG.md for v2025.8.0 [skip ci]
visibilityspots Aug 11, 2025
3e6d1a5
Build(deps): bump actions/checkout from 4 to 5
dependabot[bot] Aug 18, 2025
bbdc6b1
chore(update): Cloudflared v2025.8.1 + golang v1.25.0
visibilityspots Aug 21, 2025
4f5e85a
docs: update CHANGELOG.md for v2025.8.1 [skip ci]
visibilityspots Aug 22, 2025
98edd21
Build(deps): bump aquasecurity/trivy-action from 0.32.0 to 0.33.1
dependabot[bot] Sep 8, 2025
20f3f7e
chore(update): Cloudflared v2025.9.0 + golang v1.25.1
visibilityspots Sep 18, 2025
fe9af5c
docs: update CHANGELOG.md for v2025.9.0 [skip ci]
visibilityspots Sep 18, 2025
8cd7526
chore(update): Cloudflared v2025.9.1
visibilityspots Sep 23, 2025
cafd92d
docs: update CHANGELOG.md for v2025.9.1 [skip ci]
visibilityspots Sep 23, 2025
14d10d5
Build(deps): bump peter-evans/dockerhub-description from 4 to 5
dependabot[bot] Oct 6, 2025
47c9659
Build(deps): bump docker/login-action from 3.5.0 to 3.6.0
dependabot[bot] Oct 6, 2025
c5c0348
Build(deps): bump github/codeql-action from 3 to 4
dependabot[bot] Oct 13, 2025
bab8870
Build(deps): bump stefanzweifel/git-auto-commit-action from 6 to 7
dependabot[bot] Oct 13, 2025
33d7f67
chore(update): Cloudflared v2025.10.0 + golang v1.25.3
visibilityspots Oct 14, 2025
ce67d8c
docs: update CHANGELOG.md for v2025.10.0 [skip ci]
visibilityspots Oct 14, 2025
4aebc4f
chore(update): Cloudflared v2025.10.1
visibilityspots Oct 31, 2025
fdc599e
Build(deps): bump e1himself/goss-installation-action from 1.2.1 to 1.3.0
dependabot[bot] Oct 27, 2025
6989b73
docs: update CHANGELOG.md for v2025.10.1 [skip ci]
visibilityspots Oct 31, 2025
adf0cdd
chore(update): Cloudflared v2025.11.0 + golang v1.25.4
visibilityspots Nov 7, 2025
d96a92f
docs: update CHANGELOG.md for v2025.11.0 [skip ci]
visibilityspots Nov 7, 2025
e02f3ea
chore(update): Cloudflared v2025.11.1
visibilityspots Nov 7, 2025
a54ddb3
docs: update CHANGELOG.md for v2025.11.1 [skip ci]
visibilityspots Nov 7, 2025
d0bc86d
Build(deps): bump actions/checkout from 5 to 6
dependabot[bot] Nov 24, 2025
243f670
chore(update): Cloudflared v2026.1.1 + golang v1.25.6
visibilityspots Jan 21, 2026
b105860
chore(ci): added main branch to checkout job
visibilityspots Jan 22, 2026
650db3b
chore(ci): added main branch to checkout job
visibilityspots Jan 22, 2026
c249f5f
docs: update CHANGELOG.md for v2026.1.1 [skip ci]
visibilityspots Jan 22, 2026
464a768
Build(deps): bump docker/login-action from 3.6.0 to 3.7.0
dependabot[bot] Feb 2, 2026
dd4c9a3
chore(update): Cloudflared v2026.1.2
visibilityspots Feb 2, 2026
15ff153
docs: update CHANGELOG.md for v2026.1.2 [skip ci]
visibilityspots Feb 2, 2026
679351b
Build(deps): bump aquasecurity/trivy-action from 0.33.1 to 0.34.0
dependabot[bot] Feb 16, 2026
0cf621d
docs: add archival notice to README
visibilityspots Feb 22, 2026
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
18 changes: 13 additions & 5 deletions .github/workflows/docker-hub-description.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,26 @@ on:
push:
tags:
- '*'
workflow_call:
secrets:
DOCKERHUB_TOKEN:
required: true

env:
DOCKERHUB_USERNAME: ${{ vars.DOCKERHUB_USERNAME }}
DOCKERHUB_REPOSITORY: ${{ vars.DOCKERHUB_REPOSITORY }}

jobs:
update:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Update docker hub description
uses: peter-evans/dockerhub-description@v4
uses: peter-evans/dockerhub-description@v5
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
username: ${{ env.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: visibilityspots/cloudflared
repository: ${{ github.repository_owner }}/${{ env.DOCKERHUB_REPOSITORY }}
short-description: ${{ github.event.repository.description }}
80 changes: 0 additions & 80 deletions .github/workflows/main.yaml

This file was deleted.

93 changes: 93 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
name: CI

on:
push:
tags:
- '*'
workflow_call:
inputs:
platforms:
required: false
type: string
secrets:
DOCKERHUB_TOKEN:
required: true
GOSS_CMD:
required: false
env:
DOCKERHUB_USERNAME: ${{ vars.DOCKERHUB_USERNAME }}
DOCKERHUB_REPOSITORY: ${{ vars.DOCKERHUB_REPOSITORY }}
DOCKERHUB_PLATFORMS: ${{ inputs.platforms || 'linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64' }}

jobs:
test:
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v6
with:
ref: main

- name: Build ${{ env.DOCKERHUB_REPOSITORY }}:dev image
run: docker build -t ${{ env.DOCKERHUB_USERNAME }}/${{ env.DOCKERHUB_REPOSITORY }}:dev .

- uses: e1himself/[email protected]
with:
version: 'v0.4.9'

- name: Execute dgoss run on ${{ env.DOCKERHUB_REPOSITORY }}:dev image
env:
GOSS_FILES_STRATEGY: cp
run: dgoss run ${{ env.DOCKERHUB_USERNAME }}/${{ env.DOCKERHUB_REPOSITORY }}:dev ${{ secrets.GOSS_CMD }}

deploy:
needs: test

runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v6

- uses: docker/[email protected]
with:
username: ${{ env.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- uses: docker/setup-qemu-action@v3

- uses: docker/setup-buildx-action@v3

- name: Build and push ${{ env.DOCKERHUB_REPOSITORY }} image
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
platforms: ${{ env.DOCKERHUB_PLATFORMS }}
push: true
tags: |
${{ env.DOCKERHUB_USERNAME }}/${{ env.DOCKERHUB_REPOSITORY }}:latest
${{ env.DOCKERHUB_USERNAME }}/${{ env.DOCKERHUB_REPOSITORY }}:${{ github.ref_name }}
cache-from: type=registry,ref=${{ env.DOCKERHUB_USERNAME }}/${{ env.DOCKERHUB_REPOSITORY }}:buildcache
cache-to: type=registry,ref=${{ env.DOCKERHUB_USERNAME }}/${{ env.DOCKERHUB_REPOSITORY }}:buildcache,mode=max

- name: Generate CHANGELOG
id: changelog
uses: requarks/changelog-action@v1
with:
token: ${{ github.token }}
tag: ${{ github.ref_name }}

- name: Create github ${{ github.ref_name }} release
uses: ncipollo/release-action@v1
with:
makeLatest: true
allowUpdates: true
body: ${{ steps.changelog.output.changes }}
token: ${{ github.token }}

- name: Commit updated CHANGELOG.md for ${{ github.ref_name }}
uses: stefanzweifel/git-auto-commit-action@v7
with:
branch: main
commit_message: 'docs: update CHANGELOG.md for ${{ github.ref_name }} [skip ci]'
file_pattern: CHANGELOG.md
28 changes: 18 additions & 10 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,43 +6,51 @@ on:
- '*'
schedule:
- cron: '44 19 * * 4'
workflow_call:

permissions:
contents: read

env:
DOCKERHUB_USERNAME: ${{ vars.DOCKERHUB_USERNAME }}
DOCKERHUB_REPOSITORY: ${{ vars.DOCKERHUB_REPOSITORY }}
TRIVY_DB_REPOSITORY: 'public.ecr.aws/aquasecurity/trivy-db'
TRIVY_JAVA_DB_REPOSITORY: 'public.ecr.aws/aquasecurity/trivy-java-db'

jobs:
scan:
permissions:
contents: read
security-events: write
runs-on: "ubuntu-latest"

runs-on: ubuntu-24.04

steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Build an image from Dockerfile
run: |
docker build -t visibilityspots/cloudflared:dev .
docker build -t ${{ env.DOCKERHUB_USERNAME }}/${{ env.DOCKERHUB_REPOSITORY }}:dev .

- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@0.24.0
uses: aquasecurity/trivy-action@0.34.0
with:
image-ref: 'visibilityspots/cloudflared:dev'
image-ref: '${{ env.DOCKERHUB_USERNAME }}/${{ env.DOCKERHUB_REPOSITORY }}:dev'
format: 'table'
exit-code: 0
ignore-unfixed: true
severity: 'CRITICAL,HIGH'

- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@0.24.0
- name: Store Trivy vulnerability scanner output
uses: aquasecurity/trivy-action@0.34.0
with:
image-ref: 'visibilityspots/cloudflared:dev'
image-ref: '${{ env.DOCKERHUB_USERNAME }}/${{ env.DOCKERHUB_REPOSITORY }}:dev'
format: 'sarif'
output: 'trivy-results.sarif'
ignore-unfixed: true
severity: 'CRITICAL,HIGH'

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
uses: github/codeql-action/upload-sarif@v4
with:
sarif_file: 'trivy-results.sarif'
Loading