forked from visibilityspots/dockerfile-cloudflared
-
Notifications
You must be signed in to change notification settings - Fork 1
pr to upstream #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Knight1
wants to merge
67
commits into
Knight1:master
Choose a base branch
from
visibilityspots:main
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
67 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] ad8eb0a
chore(update): cloudflared v2024.10.1
visibilityspots c4bc296
fix(ci): using AWS based trivy repositories to mitigate TOOMANYREQUES…
visibilityspots ba8d716
docs: update CHANGELOG.md for v2024.10.1 [skip ci]
visibilityspots 7204849
feat(ci): making workflow reusable
visibilityspots fc789e4
feat(ci): removing not used env: block
visibilityspots a80a2cd
chore(update): Golang v1.23.3 + Cloudflared v2024.11.0
visibilityspots 62ae30a
docs: update CHANGELOG.md for v2024.11.0 [skip ci]
visibilityspots fd2bdb7
chore(ci): trigger docker-hub-description on every push
visibilityspots b2f7347
feat(ci): adding reusable workflow parameters + refactored some of them
visibilityspots efbfdab
chore(ci): figuring out parameters
visibilityspots 2eb1c3f
fix(ci): short-description indentation fixed
visibilityspots 9a603da
fix(ci): using var for DOCKERHUB_USERNAME instead of default
visibilityspots 53bea8d
fix(ci): using env var over inputs
visibilityspots edab8f3
fix(ci): used wrong DOCKERHUB_REPOSITORY value due to copy paste
visibilityspots 6a91e0d
feat(ci): make trivy workflow reusable
visibilityspots 37a80e8
feat(ci): make main workflow reusable
visibilityspots 72aa91f
chore(revert): removed last release to test ci chain
visibilityspots 7ef5855
docs: update CHANGELOG.md for v2024.11.0 [skip ci]
visibilityspots a859394
chore(ci): refactored workflows
visibilityspots c709aa9
chore(revert): removed last release to test ci chain
visibilityspots b399b95
docs: update CHANGELOG.md for v2024.11.0 [skip ci]
visibilityspots dd577e7
chore(ci): standardized yml extension
visibilityspots 52d3450
fix(README): referring to yml main workflow over yaml one
visibilityspots f4a8d30
feat(ci): make GOSS_CMD vars param
visibilityspots af0505a
chore(ci): renamed a few actions + playing around with GOSS_CMD param…
visibilityspots bde02e7
clean changelog for retry of commit
visibilityspots 3c0bb42
docs: update CHANGELOG.md for v2024.11.0 [skip ci]
visibilityspots 13e7bb9
chore(ci): using secret for GOSS_CMD
visibilityspots efaa11d
chore(update): Cloudflared v2024.11.1
visibilityspots 309e3ab
docs: update CHANGELOG.md for v2024.11.1 [skip ci]
visibilityspots 396f777
chore(ci): disable requirement on DOCKERHUB_TOKEN to test inheritance
visibilityspots d0da83c
Revert "chore(ci): disable requirement on DOCKERHUB_TOKEN to test inh…
visibilityspots 3c1fce0
feat(ci): introducing parameterized DOCKERHUB_PLATFORMS
visibilityspots 4b30f3b
Build(deps): bump aquasecurity/trivy-action from 0.28.0 to 0.29.0
dependabot[bot] a4132ca
chore(update): Cloudflared v2024.12.0 + Golang v1.23.4
visibilityspots 389a483
docs: update CHANGELOG.md for v2024.12.0 [skip ci]
visibilityspots b5d844e
fix(ci): default value for DOCKERHUB_PLATFORMS
visibilityspots 5ce16f6
chore(update): Cloudflared v2024.12.1
visibilityspots e23d3e6
docs: update CHANGELOG.md for v2024.12.1 [skip ci]
visibilityspots 126bd9d
chore(update): Alpine v3.21
visibilityspots 2c82345
chore(ci): using ubuntu-24.04 for github action runners
visibilityspots 8d621d5
chore(update): Cloudflared v2024.12.2
visibilityspots cfff25f
docs: update CHANGELOG.md for v2024.12.2 [skip ci]
visibilityspots e77a264
chore(update): Cloudflared v2025.1.0
visibilityspots 64029b8
docs: update CHANGELOG.md for v2025.1.0 [skip ci]
visibilityspots 2a045a0
chore(update): Cloudflared v2025.1.1
visibilityspots ab6ec79
docs: update CHANGELOG.md for v2025.1.1 [skip ci]
visibilityspots e97e76a
chore(doc): using udp port forwarding over net host mode in docker ru…
visibilityspots 5d4b3b5
chore(update): golang v1.23.6 + cloudflared v2025.2.0
visibilityspots 6a5ac80
docs: update CHANGELOG.md for v2025.2.0 [skip ci]
visibilityspots df22578
chore(update): chore(update): golang v1.24.0 + cloudflared v2025.2.1
visibilityspots 4256f37
docs: update CHANGELOG.md for v2025.2.1 [skip ci]
visibilityspots ed178e9
Build(deps): bump docker/login-action from 3.3.0 to 3.4.0
dependabot[bot] 73d3028
Build(deps): bump aquasecurity/trivy-action from 0.29.0 to 0.30.0
dependabot[bot] 6839f99
chore(update): Cloudflared v2025.4.0
visibilityspots 3213ddf
docs: update CHANGELOG.md for v2025.4.0 [skip ci]
visibilityspots 0cc2e1e
chore(update): Cloudflared v2025.4.2
visibilityspots 9f36693
docs: update CHANGELOG.md for v2025.4.2 [skip ci]
visibilityspots 784a116
chore(update): Cloudflared v2025.5.0
visibilityspots df4d203
docs: update CHANGELOG.md for v2025.5.0 [skip ci]
visibilityspots 93a2a95
chore(update): Cloudflared v2025.6.0
visibilityspots 753e3ac
Build(deps): bump aquasecurity/trivy-action from 0.30.0 to 0.31.0
dependabot[bot] 5e0d855
docs: update CHANGELOG.md for v2025.6.0 [skip ci]
visibilityspots 1fa9b6e
chore(update): Cloudflared v2025.6.1
visibilityspots 3ee25df
docs: update CHANGELOG.md for v2025.6.1 [skip ci]
visibilityspots 2d3bad6
Build(deps): bump stefanzweifel/git-auto-commit-action from 5 to 6
dependabot[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
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@v4 | ||
|
||
- name: Build ${{ env.DOCKERHUB_REPOSITORY }}:dev image | ||
run: docker build -t ${{ env.DOCKERHUB_USERNAME }}/${{ env.DOCKERHUB_REPOSITORY }}:dev . | ||
|
||
- uses: e1himself/goss-installation-action@v1.2.1 | ||
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@v4 | ||
|
||
- uses: docker/login-action@v3.4.0 | ||
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@v6 | ||
with: | ||
branch: main | ||
commit_message: 'docs: update CHANGELOG.md for ${{ github.ref_name }} [skip ci]' | ||
file_pattern: CHANGELOG.md |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate changelog link entries for [v2024.11.0] are present; consider removing the extra duplicates to maintain a clean and accurate changelog.
Copilot uses AI. Check for mistakes.