update workflows

This commit is contained in:
Robin Appelman 2024-02-22 14:53:13 +01:00
commit 5e0b3d51cd

View file

@ -20,16 +20,16 @@ jobs:
steps: steps:
- name: Checkout patch files - name: Checkout patch files
uses: actions/checkout@v2 uses: actions/checkout@v4
- name: Checkout base dockerfiles - name: Checkout base dockerfiles
uses: actions/checkout@v2 uses: actions/checkout@v4
with: with:
path: php path: php
repository: docker-library/php repository: docker-library/php
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1 uses: docker/setup-buildx-action@v3
- name: Login to DockerHub - name: Login to DockerHub
uses: docker/login-action@v1 uses: docker/login-action@v3
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
@ -41,7 +41,7 @@ jobs:
cd php; ./apply-templates.sh cd php; ./apply-templates.sh
- name: Build and push - name: Build and push
id: docker_build id: docker_build
uses: docker/build-push-action@v2 uses: docker/build-push-action@v5
with: with:
context: php/${{ matrix.php-versions }}/bullseye/${{ matrix.variant }} context: php/${{ matrix.php-versions }}/bullseye/${{ matrix.variant }}
push: true push: true