Initial commit #1
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
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' |