Skip to content

Commit

Permalink
Actions update.
Browse files Browse the repository at this point in the history
  • Loading branch information
buluma committed Mar 25, 2024
1 parent ac8476d commit 0a20535
Show file tree
Hide file tree
Showing 14 changed files with 68 additions and 68 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/apline-openrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
os: [ubuntu-22.04]

steps:
- uses: actions/checkout@v2.6.0
- uses: actions/checkout@v4.1.1

- name: Test building image.
run: cd alpine-openrc && docker build -t alpine-openrc .
Expand All @@ -41,27 +41,27 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
- uses: docker/setup-buildx-action@v3.2.0

- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3.1.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3.1.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push image.
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5.3.0
with:
context: alpine-openrc/
file: alpine-openrc/Dockerfile
platforms: linux/amd64, linux/arm64
platforms: linux/amd64, linux/arm64, linux/arm/v6, linux/arm/v7, linux/arm64/v8, linux/ppc64le, linux/s390x, linux/386
push: true
tags: |
${{ github.repository }}:alpine-openrc
10 changes: 5 additions & 5 deletions .github/workflows/centos7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
os: [ubuntu-20.04]

steps:
- uses: actions/checkout@v2.6.0
- uses: actions/checkout@v4.1.1

- name: Test building image.
run: cd centos7 && docker build -t centos7 .
Expand All @@ -37,7 +37,7 @@ jobs:
if: github.ref == 'refs/heads/master'

steps:
- uses: actions/checkout@v2.6.0
- uses: actions/checkout@v4.1.1
- uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
id: buildx
Expand All @@ -46,20 +46,20 @@ jobs:
run: echo ${{ steps.buildx.outputs.platforms }}

- name: Login to DockerHub
uses: docker/login-action@v2.1.0
uses: docker/login-action@v3.1.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v2.1.0
uses: docker/login-action@v3.1.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push image.
uses: docker/build-push-action@v3.2.0
uses: docker/build-push-action@v5.3.0
with:
context: centos7/
file: centos7/Dockerfile
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/debian10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
os: [ubuntu-20.04]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4.1.1

- name: Test building image.
run: cd debian10 && docker build -t debian10 .
Expand All @@ -37,7 +37,7 @@ jobs:
if: github.ref == 'refs/heads/master'

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4.1.1
- uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
id: buildx
Expand All @@ -52,7 +52,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push image.
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5.3.0
with:
context: debian10/
file: debian10/Dockerfile
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/debian11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
os: [ubuntu-22.04]

steps:
- uses: actions/checkout@v2.6.0
- uses: actions/checkout@v4.1.1

- name: Test building image.
run: cd debian11 && docker build -t debian11 .
Expand All @@ -41,27 +41,27 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
- uses: docker/setup-buildx-action@v3.2.0

- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3.1.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3.1.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push image.
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5.3.0
with:
context: debian11/
file: debian11/Dockerfile
platforms: linux/386, linux/amd64, linux/arm/v7, linux/arm64/v8
platforms: linux/386, linux/amd64
push: true
tags: |
${{ github.repository }}:debian11
6 changes: 3 additions & 3 deletions .github/workflows/debian9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
os: [ubuntu-20.04]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4.1.1

- name: Test building image.
run: cd debian9 && docker build -t debian9 .
Expand All @@ -37,7 +37,7 @@ jobs:
if: github.ref == 'refs/heads/master'

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4.1.1
- uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
id: buildx
Expand All @@ -52,7 +52,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push image.
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5.3.0
with:
context: debian9/
file: debian9/Dockerfile
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/fedora37.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
os: [ubuntu-22.04]

steps:
- uses: actions/checkout@v2.6.0
- uses: actions/checkout@v4.1.1

- name: Test building image.
run: cd fedora37 && docker build -t fedora37 .
Expand All @@ -41,23 +41,23 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
- uses: docker/setup-buildx-action@v3.2.0

- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3.1.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3.1.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push image.
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5.3.0
with:
context: fedora37/
file: fedora37/Dockerfile
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/fedora38.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
os: [ubuntu-22.04]

steps:
- uses: actions/checkout@v2.6.0
- uses: actions/checkout@v4.1.1

- name: Test building image.
run: cd fedora38 && docker build -t fedora38 .
Expand All @@ -41,23 +41,23 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
- uses: docker/setup-buildx-action@v3.2.0

- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3.1.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3.1.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push image.
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5.3.0
with:
context: fedora38/
file: fedora38/Dockerfile
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/fedora39.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
os: [ubuntu-22.04]

steps:
- uses: actions/checkout@v2.6.0
- uses: actions/checkout@v4.1.1

- name: Test building image.
run: cd fedora39 && docker build -t fedora39 .
Expand All @@ -41,23 +41,23 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
- uses: docker/setup-buildx-action@v3.2.0

- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3.1.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3.1.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push image.
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5.3.0
with:
context: fedora39/
file: fedora39/Dockerfile
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/fedora40.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
os: [ubuntu-22.04]

steps:
- uses: actions/checkout@v2.6.0
- uses: actions/checkout@v4.1.1

- name: Test building image.
run: cd fedora40 && docker build -t fedora40 .
Expand All @@ -41,23 +41,23 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
- uses: docker/setup-buildx-action@v3.2.0

- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3.1.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3.1.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push image.
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5.3.0
with:
context: fedora40/
file: fedora40/Dockerfile
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/kalilinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
os: [ubuntu-22.04]

steps:
- uses: actions/checkout@v2.6.0
- uses: actions/checkout@v4.1.1

- name: Test building image.
run: cd kalilinux && docker build -t kalilinux .
Expand All @@ -41,23 +41,23 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
- uses: docker/setup-buildx-action@v3.2.0

- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3.1.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3.1.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push image.
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5.3.0
with:
context: kalilinux/
file: kalilinux/Dockerfile
Expand Down
Loading

0 comments on commit 0a20535

Please sign in to comment.