Skip to content

Commit

Permalink
Merge pull request #45 from cron-eu/github-actions-update
Browse files Browse the repository at this point in the history
Update github actions to latest versions
  • Loading branch information
baschny authored Oct 10, 2024
2 parents 24d916c + 3548a0b commit 4107082
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ jobs:

steps:
- name: "Checkout Sourcecode"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Set up Docker Buildx"
id: builder
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: "Append ARM buildx builder from AWS"
uses: baschny/append-buildx-action@v1
Expand All @@ -37,13 +37,13 @@ jobs:
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}

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

- name: "Docker build and push (fpm image)"
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: .
tags: "croneu/phpapp-fpm:php-${{ matrix.php-version }}"
Expand All @@ -56,7 +56,7 @@ jobs:
PHP_MINOR_VERSION=${{ matrix.php-version }}
- name: "Update Docker Hub Description (croneu/phpapp-fpm)"
uses: peter-evans/dockerhub-description@v3
uses: peter-evans/dockerhub-description@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand All @@ -81,11 +81,11 @@ jobs:

steps:
- name: "Checkout Sourcecode"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Set up Docker Buildx"
id: builder
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: "Append ARM buildx builder from AWS"
uses: baschny/append-buildx-action@v1
Expand All @@ -96,13 +96,13 @@ jobs:
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}

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

- name: "Docker build and push (ssh image)"
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: .
tags: "croneu/phpapp-ssh:php-${{ matrix.php-version }}-node-${{ matrix.node-version }}"
Expand All @@ -116,7 +116,7 @@ jobs:
NODE_VERSION=${{ matrix.node-version }}
- name: "Update Docker Hub Description (croneu/phpapp-ssh)"
uses: peter-evans/dockerhub-description@v3
uses: peter-evans/dockerhub-description@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/build-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:

steps:
- name: "Checkout Sourcecode"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Set up Docker Buildx"
id: builder
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: "Docker build only (fpm image)"
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: .
tags: "croneu/phpapp-fpm:php-${{ matrix.php-version }}"
Expand Down Expand Up @@ -60,14 +60,14 @@ jobs:

steps:
- name: "Checkout Sourcecode"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Set up Docker Buildx"
id: builder
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: "Docker build only (ssh image)"
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: .
tags: "croneu/phpapp-ssh:php-${{ matrix.php-version }}-node-${{ matrix.node-version }}"
Expand Down

0 comments on commit 4107082

Please sign in to comment.