Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support both Fedora 37 and 38 #22

Merged
merged 4 commits into from
Jun 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:
- rocky8-ansible
- debian11-ansible
- debian10-ansible
- fedora-ansible
- fedora37-ansible
- fedora38-ansible
- opensuse_tumbleweed-ansible
- openwrt-ansible
- oracle7-ansible
Expand Down Expand Up @@ -55,13 +56,13 @@ jobs:
uses: docker/build-push-action@v2
with:
context: ${{ matrix.dockerimage }}-latest
tags: ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
tags: docker-${{ matrix.dockerimage }}:test
platforms: ${{ matrix.platforms }}
load: true
-
name: Test
run: |
docker run --rm ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
docker run --rm docker-${{ matrix.dockerimage }}:test
-
name: Login to DockerHub
uses: docker/login-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/alpine-ansible-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:
uses: docker/build-push-action@v2
with:
context: ${{ matrix.dockerimage }}-latest
tags: ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
tags: docker-${{ matrix.dockerimage }}:test
platforms: ${{ matrix.platforms }}
load: true
-
name: Test
run: |
docker run --rm ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
docker run --rm docker-${{ matrix.dockerimage }}:test
-
name: Login to DockerHub
uses: docker/login-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/amazon2-ansible-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:
uses: docker/build-push-action@v2
with:
context: ${{ matrix.dockerimage }}-latest
tags: ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
tags: docker-${{ matrix.dockerimage }}:test
platforms: ${{ matrix.platforms }}
load: true
-
name: Test
run: |
docker run --rm ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
docker run --rm docker-${{ matrix.dockerimage }}:test
-
name: Login to DockerHub
uses: docker/login-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/amazon2023-ansible-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:
uses: docker/build-push-action@v2
with:
context: ${{ matrix.dockerimage }}-latest
tags: ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
tags: docker-${{ matrix.dockerimage }}:test
platforms: ${{ matrix.platforms }}
load: true
-
name: Test
run: |
docker run --rm ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
docker run --rm docker-${{ matrix.dockerimage }}:test
-
name: Login to DockerHub
uses: docker/login-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/arch-ansible-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:
uses: docker/build-push-action@v2
with:
context: ${{ matrix.dockerimage }}-latest
tags: ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
tags: docker-${{ matrix.dockerimage }}:test
platforms: ${{ matrix.platforms }}
load: true
-
name: Test
run: |
docker run --rm ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
docker run --rm docker-${{ matrix.dockerimage }}:test
-
name: Login to DockerHub
uses: docker/login-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/centos7-ansible-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:
uses: docker/build-push-action@v2
with:
context: ${{ matrix.dockerimage }}-latest
tags: ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
tags: docker-${{ matrix.dockerimage }}:test
platforms: ${{ matrix.platforms }}
load: true
-
name: Test
run: |
docker run --rm ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
docker run --rm docker-${{ matrix.dockerimage }}:test
-
name: Login to DockerHub
uses: docker/login-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/centos8-ansible-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:
uses: docker/build-push-action@v2
with:
context: ${{ matrix.dockerimage }}-latest
tags: ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
tags: docker-${{ matrix.dockerimage }}:test
platforms: ${{ matrix.platforms }}
load: true
-
name: Test
run: |
docker run --rm ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
docker run --rm docker-${{ matrix.dockerimage }}:test
-
name: Login to DockerHub
uses: docker/login-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/centosstream8-ansible-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:
uses: docker/build-push-action@v2
with:
context: ${{ matrix.dockerimage }}-latest
tags: ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
tags: docker-${{ matrix.dockerimage }}:test
platforms: ${{ matrix.platforms }}
load: true
-
name: Test
run: |
docker run --rm ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
docker run --rm docker-${{ matrix.dockerimage }}:test
-
name: Login to DockerHub
uses: docker/login-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/centosstream9-ansible-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:
uses: docker/build-push-action@v2
with:
context: ${{ matrix.dockerimage }}-latest
tags: ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
tags: docker-${{ matrix.dockerimage }}:test
platforms: ${{ matrix.platforms }}
load: true
-
name: Test
run: |
docker run --rm ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
docker run --rm docker-${{ matrix.dockerimage }}:test
-
name: Login to DockerHub
uses: docker/login-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/debian10-ansible-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:
uses: docker/build-push-action@v2
with:
context: ${{ matrix.dockerimage }}-latest
tags: ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
tags: docker-${{ matrix.dockerimage }}:test
platforms: ${{ matrix.platforms }}
load: true
-
name: Test
run: |
docker run --rm ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
docker run --rm docker-${{ matrix.dockerimage }}:test
-
name: Login to DockerHub
uses: docker/login-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/debian11-ansible-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:
uses: docker/build-push-action@v2
with:
context: ${{ matrix.dockerimage }}-latest
tags: ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
tags: docker-${{ matrix.dockerimage }}:test
platforms: ${{ matrix.platforms }}
load: true
-
name: Test
run: |
docker run --rm ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
docker run --rm docker-${{ matrix.dockerimage }}:test
-
name: Login to DockerHub
uses: docker/login-action@v1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
name: fedora-ansible-latest
name: fedora37-ansible-latest
on:
# yamllint disable-line rule:truthy
workflow_dispatch:
push:
paths:
- 'fedora-ansible-latest/**'
- 'fedora37-ansible-latest/**'
pull_request:
paths:
- 'fedora-ansible-latest/**'
- 'fedora37-ansible-latest/**'
jobs:
docker:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
dockerimage:
- fedora-ansible
- fedora37-ansible
platforms:
- linux/amd64
#- linux/arm64
Expand All @@ -34,13 +34,13 @@ jobs:
uses: docker/build-push-action@v2
with:
context: ${{ matrix.dockerimage }}-latest
tags: ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
tags: docker-${{ matrix.dockerimage }}:test
platforms: ${{ matrix.platforms }}
load: true
-
name: Test
run: |
docker run --rm ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
docker run --rm docker-${{ matrix.dockerimage }}:test
-
name: Login to DockerHub
uses: docker/login-action@v1
Expand Down
59 changes: 59 additions & 0 deletions .github/workflows/fedora38-ansible-latest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: fedora38-ansible-latest
on:
# yamllint disable-line rule:truthy
workflow_dispatch:
push:
paths:
- 'fedora38-ansible-latest/**'
pull_request:
paths:
- 'fedora38-ansible-latest/**'
jobs:
docker:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
dockerimage:
- fedora38-ansible
platforms:
- linux/amd64
#- linux/arm64
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Build and export to Docker
uses: docker/build-push-action@v2
with:
context: ${{ matrix.dockerimage }}-latest
tags: docker-${{ matrix.dockerimage }}:test
platforms: ${{ matrix.platforms }}
load: true
-
name: Test
run: |
docker run --rm docker-${{ matrix.dockerimage }}:test
-
name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
if: github.ref == 'refs/heads/master'
-
name: Build and push
uses: docker/build-push-action@v2
with:
context: ${{ matrix.dockerimage }}-latest
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:latest
platforms: ${{ matrix.platforms }}
if: github.ref == 'refs/heads/master'
4 changes: 2 additions & 2 deletions .github/workflows/opensuse_tumbleweed-ansible-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:
uses: docker/build-push-action@v2
with:
context: ${{ matrix.dockerimage }}-latest
tags: ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
tags: docker-${{ matrix.dockerimage }}:test
platforms: ${{ matrix.platforms }}
load: true
-
name: Test
run: |
docker run --rm ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
docker run --rm docker-${{ matrix.dockerimage }}:test
-
name: Login to DockerHub
uses: docker/login-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/openwrt-ansible-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:
uses: docker/build-push-action@v2
with:
context: ${{ matrix.dockerimage }}-latest
tags: ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
tags: docker-${{ matrix.dockerimage }}:test
platforms: ${{ matrix.platforms }}
load: true
-
name: Test
run: |
docker run --rm ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
docker run --rm docker-${{ matrix.dockerimage }}:test
-
name: Login to DockerHub
uses: docker/login-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/oracle7-ansible-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:
uses: docker/build-push-action@v2
with:
context: ${{ matrix.dockerimage }}-latest
tags: ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
tags: docker-${{ matrix.dockerimage }}:test
platforms: ${{ matrix.platforms }}
load: true
-
name: Test
run: |
docker run --rm ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
docker run --rm docker-${{ matrix.dockerimage }}:test
-
name: Login to DockerHub
uses: docker/login-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rocky8-ansible-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:
uses: docker/build-push-action@v2
with:
context: ${{ matrix.dockerimage }}-latest
tags: ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
tags: docker-${{ matrix.dockerimage }}:test
platforms: ${{ matrix.platforms }}
load: true
-
name: Test
run: |
docker run --rm ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
docker run --rm docker-${{ matrix.dockerimage }}:test
-
name: Login to DockerHub
uses: docker/login-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rocky9-ansible-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:
uses: docker/build-push-action@v2
with:
context: ${{ matrix.dockerimage }}-latest
tags: ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
tags: docker-${{ matrix.dockerimage }}:test
platforms: ${{ matrix.platforms }}
load: true
-
name: Test
run: |
docker run --rm ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
docker run --rm docker-${{ matrix.dockerimage }}:test
-
name: Login to DockerHub
uses: docker/login-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ubuntu1804-ansible-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:
uses: docker/build-push-action@v2
with:
context: ${{ matrix.dockerimage }}-latest
tags: ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
tags: docker-${{ matrix.dockerimage }}:test
platforms: ${{ matrix.platforms }}
load: true
-
name: Test
run: |
docker run --rm ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
docker run --rm docker-${{ matrix.dockerimage }}:test
-
name: Login to DockerHub
uses: docker/login-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ubuntu2004-ansible-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:
uses: docker/build-push-action@v2
with:
context: ${{ matrix.dockerimage }}-latest
tags: ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
tags: docker-${{ matrix.dockerimage }}:test
platforms: ${{ matrix.platforms }}
load: true
-
name: Test
run: |
docker run --rm ${{ secrets.DOCKERHUB_USERNAME }}/docker-${{ matrix.dockerimage }}:test
docker run --rm docker-${{ matrix.dockerimage }}:test
-
name: Login to DockerHub
uses: docker/login-action@v1
Expand Down
Loading