-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 602e2cc
Showing
9 changed files
with
1,142 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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,37 @@ | ||
name: Docker Publish | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
schedule: | ||
- cron: '0 8 * * 2' | ||
|
||
jobs: | ||
|
||
ssh: | ||
uses: ./.github/workflows/service_docker-build-and-publish.yml | ||
with: | ||
tags: "serversideup/proftpd:latest" | ||
secrets: inherit | ||
|
||
update_container_readme: | ||
runs-on: ubuntu-20.04 | ||
name: Push README to Docker Hub | ||
steps: | ||
- name: git checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: main | ||
|
||
- name: push README to Dockerhub | ||
uses: christian-korneck/update-container-description-action@v1 | ||
env: | ||
DOCKER_USER: ${{ secrets.DOCKER_HUB_README_USERNAME }} | ||
DOCKER_PASS: ${{ secrets.DOCKER_HUB_README_PASSWORD }} | ||
with: | ||
destination_container_repo: serversideup/proftpd | ||
provider: dockerhub | ||
short_description: 'A simple and lightweight mkpasswd image based on Alpine. Great for generating password hashes.' | ||
readme_file: 'README.md' |
This file contains 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,28 @@ | ||
name: Generate Sponsors README | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: 30 15 * * 0-6 | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout 🛎️ | ||
uses: actions/checkout@v3 | ||
|
||
- name: Generate Sponsors 💖 | ||
uses: JamesIves/github-sponsors-readme-action@v1 | ||
with: | ||
organization: true | ||
maximum: 500 | ||
fallback: '<p align="center"><a href="https://github.com/sponsors/serversideup"><img src="https://521public.s3.amazonaws.com/serversideup/sponsors/sponsor-empty-state.png" alt="Sponsors"></a></p>' | ||
token: ${{ secrets.SPONSORS_README_ACTION_PERSONAL_ACCESS_TOKEN }} | ||
marker: 'supporters' | ||
template: '<a href="https://github.com/{{{ login }}}"><img src="https://github.com/{{{ login }}}.png" width="40px" alt="{{{ login }}}" /></a> ' | ||
file: 'README.md' | ||
|
||
- name: Deploy to GitHub Pages 🚀 | ||
uses: JamesIves/github-pages-deploy-action@v4 | ||
with: | ||
branch: main | ||
folder: '.' |
This file contains 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,37 @@ | ||
on: | ||
workflow_call: | ||
inputs: | ||
tags: | ||
required: true | ||
type: string | ||
|
||
jobs: | ||
docker-publish: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Login to DockerHub | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKER_HUB_USERNAME }} | ||
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: Build and push | ||
uses: docker/build-push-action@v5 | ||
with: | ||
context: src/ | ||
platforms: | | ||
linux/amd64 | ||
linux/arm/v7 | ||
linux/arm64/v8 | ||
pull: true | ||
push: true | ||
tags: "${{ inputs.tags }}" |
This file contains 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,19 @@ | ||
name: Workflow | ||
|
||
on: | ||
pull_request: null | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
actionlint: | ||
name: Actionlint | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Analyze workflow files | ||
uses: docker://rhysd/actionlint:1.7.0 | ||
with: | ||
args: "-color -verbose -shellcheck=" |
Oops, something went wrong.