Enhance GitHub Actions workflows to fetch latest release tags for bet… #28
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 (Edge Images) | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- src/** | |
- .github/workflows/** | |
- ansible-versions.yml | |
- build.sh | |
jobs: | |
build-edge-images: | |
uses: ./.github/workflows/service_docker-build-and-publish.yml | |
secrets: inherit | |
with: | |
release_type: 'edge' | |
update_container_readme: | |
runs-on: ubuntu-24.04 | |
name: Push README to Docker Hub | |
steps: | |
- name: git checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: main | |
- name: push README to Dockerhub (ansible) | |
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/ansible | |
provider: dockerhub | |
short_description: 'Run Ansible anywhere with a lightweight and powerful Docker image.' | |
readme_file: 'README.md' | |
- name: push README to Dockerhub (ansible-core) | |
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/ansible-core | |
provider: dockerhub | |
short_description: 'Run Ansible anywhere with a lightweight and powerful Docker image.' | |
readme_file: 'README.md' |