9 Commits

Author SHA1 Message Date
volker.raschek c06beae2c2 fix(ci): adapt markdownlint
Build / build-rocky-linux-8 (push) Has been cancelled
Build / build-arch-linux (push) Has been cancelled
Lint Markdown files / markdown-lint (push) Successful in 11s
2025-05-08 18:06:02 +02:00
volker.raschek 1d2a90f375 fix(ci): adapt markdownlint
Build / build-arch-linux (push) Has been cancelled
Build / build-rocky-linux-8 (push) Has been cancelled
Lint Markdown files / markdown-lint (push) Successful in 10s
2025-05-08 18:03:54 +02:00
volker.raschek 50b836e00c fix(ci): add markdownlint
Build / build-rocky-linux-8 (push) Waiting to run
Lint Markdown files / markdown-lint (push) Successful in 10s
Build / build-arch-linux (push) Has been cancelled
2025-05-08 18:02:29 +02:00
volker.raschek c232c282db fix(ci): use container image tag from git tag
Build / build-arch-linux (push) Successful in 12m1s
Build / build-rocky-linux-8 (push) Successful in 8m49s
Release / push-arch-linux (push) Successful in 18m43s
Release / push-rocky-linux-8 (push) Successful in 13m26s
Release / sync-to-hub-docker-io (push) Successful in 1m59s
2025-05-08 15:44:14 +02:00
volker.raschek 57b2aa7586 fix(ci): add missing Dockerfile suffix
Build / build-rocky-linux-8 (push) Has been cancelled
Build / build-arch-linux (push) Has been cancelled
Release / push-arch-linux (push) Successful in 17m50s
Release / push-rocky-linux-8 (push) Successful in 14m39s
Release / sync-to-hub-docker-io (push) Failing after 27s
2025-05-08 14:48:30 +02:00
volker.raschek f1c719cb08 fix(ci): add missing Dockerfile suffix
Build / build-rocky-linux-8 (push) Has been cancelled
Build / build-arch-linux (push) Has been cancelled
Release / push-arch-linux (push) Successful in 16m51s
Release / push-rocky-linux-8 (push) Failing after 54s
Release / sync-to-hub-docker-io (push) Has been skipped
2025-05-08 12:46:21 +02:00
volker.raschek 9888a6524c docs(ci): rename step 2025-05-08 12:31:07 +02:00
volker.raschek bd5ef263d7 fix(ci): specify dependency correctly
Build / build-arch-linux (push) Has been cancelled
Build / build-rocky-linux-8 (push) Has been cancelled
Release / push-arch-linux (push) Successful in 19m0s
Release / push-rocky-linux-8 (push) Failing after 1m4s
Release / sync-to-hub-docker-io (push) Has been skipped
2025-05-08 12:24:29 +02:00
volker.raschek 50511720eb docs(README): add example
Build / build-arch-linux (push) Waiting to run
Build / build-rocky-linux-8 (push) Waiting to run
Update Docker Hub Description / update-description-on-hub-docker-io (push) Successful in 10s
2025-05-08 12:23:22 +02:00
4 changed files with 56 additions and 11 deletions
+28
View File
@@ -0,0 +1,28 @@
name: 'Lint Markdown files'
on:
pull_request:
types:
- opened
- reopened
- synchronize
push:
branches:
- master
workflow_dispatch: {}
jobs:
markdown-lint:
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- name: "Execute markdownlint"
run: |
ls -la
docker run \
--rm \
--volume $(pwd):$(pwd) \
--workdir $(pwd) \
git.cryptic.systems/volker.raschek/markdownlint:0.44.0 \
.
+7 -6
View File
@@ -19,9 +19,9 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }}
- name: Build image
- name: Build and push image
run: |
TAG=latest
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
docker buildx build \
--file Dockerfile.archlinux \
@@ -42,19 +42,20 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }}
- name: Build image
- name: Build and push image
run: |
TAG=latest
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
docker buildx build \
--file Dockerfile \
--file Dockerfile.rockylinux8 \
--push \
--tag git.cryptic.systems/volker.raschek/ansible:${TAG}-rockylinux-8 \
.
sync-to-hub-docker-io:
needs:
- push-manifest
- push-arch-linux
- push-rocky-linux-8
runs-on: ubuntu-latest
steps:
- name: Copy images to docker.io
+3 -5
View File
@@ -45,19 +45,17 @@ MD012:
# MD013/line-length - Line length
MD013:
# Number of characters
line_length: 80
line_length: 120
# Number of characters for headings
heading_line_length: 80
heading_line_length: 120
# Number of characters for code blocks
code_block_line_length: 80
code_block_line_length: 120
# Include code blocks
code_blocks: false
# Include tables
tables: false
# Include headings
headings: true
# Include headings
headers: true
# Strict length checking
strict: false
# Stern length checking
+18
View File
@@ -1,3 +1,21 @@
# ansible
[![Docker Pulls](https://img.shields.io/docker/pulls/volkerraschek/ansible-archlinux)](https://hub.docker.com/r/volkerraschek/ansible-archlinux)
This container image can be used to execute ansible. It contains the latest versions of ansible-core, ansible-lint and
python-boto3 to interact with AWS dynamic inventory.
Here is an example. The environment variables as well as the path to the playbook and inventory must of course be
adapted to your own needs.
```bash
docker run \
--env AWS_ACCESS_KEY_ID \
--env AWS_SECRET_ACCESS_KEY \
--env AWS_SESSION_TOKEN \
--rm \
--volume $(pwd):$(pwd) \
--workdir $(pwd) \
git.cryptic.systems/volkerraschek/ansible:latest \
bash -c "ansible-galaxy install -r requirements.yaml && ansible-playbook -i inventories/demo.aws_ec2.yaml aws.yaml"
```