Skip to content

Commit

Permalink
ci: add dockerhub-description workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
antmelekhin committed Jun 29, 2024
1 parent 0f7ba17 commit 7e54e38
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 12 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/dockerhub-description.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: 'Update DockerHub Description'
on:
push:
branches: ['main']
paths:
- 'README.md'
- '.github/workflows/dockerhub-description.yml'
jobs:
dockerHubDescription:
runs-on: 'ubuntu-latest'
steps:
- name: 'Checkout the codebase'
uses: 'actions/checkout@v4'

- name: 'DockerHub Description'
uses: 'peter-evans/dockerhub-description@v4'
with:
username: 'antmelekhin'
password: ${{ secrets.DOCKER_HUB_TOKEN }}
short-description: ${{ github.event.repository.description }}
enable-url-completion: true
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,35 +34,35 @@ Ubuntu:
```yaml
---
dependency:
name: galaxy
name: 'galaxy'
enabled: true
driver:
name: docker
name: 'docker'
platforms:
- name: 'instance-ubuntu'
image: 'antmelekhin/docker-systemd:ubuntu-22.04'
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- /var/lib/containerd
cgroupns_mode: host
- '/sys/fs/cgroup:/sys/fs/cgroup:rw'
- '/var/lib/containerd'
cgroupns_mode: 'host'
privileged: true
pre_build_image: true
groups:
- debian_family
- 'debian_family'
- name: 'instance-rocky'
image: 'antmelekhin/docker-systemd:rockylinux-9'
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- /var/lib/containerd
cgroupns_mode: host
- '/sys/fs/cgroup:/sys/fs/cgroup:rw'
- '/var/lib/containerd'
cgroupns_mode: 'host'
privileged: true
pre_build_image: true
groups:
- rhel_family
- 'rhel_family'
provisioner:
name: ansible
name: 'ansible'
verifier:
name: ansible
name: 'ansible'
```
## License
Expand Down

0 comments on commit 7e54e38

Please sign in to comment.