mirror of
https://github.com/dunglas/frankenphp
synced 2024-10-16 17:14:59 +00:00
ci: upgrade actions
This commit is contained in:
parent
11b1904a3d
commit
c5a8052040
@ -24,7 +24,7 @@ jobs:
|
||||
install: true
|
||||
|
||||
- name: Build test image
|
||||
uses: docker/build-push-action@v3
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: ./
|
||||
file: ${{ matrix.dockerfile }}
|
||||
@ -40,7 +40,7 @@ jobs:
|
||||
- name: Run tests
|
||||
run: |
|
||||
docker load -i /tmp/.builder.tar
|
||||
docker run --rm frankenphp:${{ github.sha }}-builder "go test -race -v"
|
||||
docker run --rm frankenphp:${{ github.sha }}-builder "sh -c 'go test -race -v ./... && cd caddy && go test -race -v ./...'"
|
||||
push-image:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
@ -86,11 +86,11 @@ jobs:
|
||||
with:
|
||||
install: true
|
||||
|
||||
- name: Setup QEMU
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
|
||||
- name: Build and Push Image
|
||||
uses: docker/build-push-action@v3
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: ./
|
||||
file: ${{ matrix.dockerfile }}
|
@ -19,7 +19,7 @@ jobs:
|
||||
install: true
|
||||
|
||||
- name: Build test image
|
||||
uses: docker/build-push-action@v3
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: ./
|
||||
file: ${{ matrix.dockerfile }}
|
||||
@ -35,7 +35,7 @@ jobs:
|
||||
- name: Run tests
|
||||
run: |
|
||||
docker load -i /tmp/.builder.tar
|
||||
docker run --rm frankenphp:${{ github.sha }}-builder "go test -a -v"
|
||||
docker run --rm frankenphp:${{ github.sha }}-builder "sh -c 'go test -race -v ./... && cd caddy && go test -race -v ./...'"
|
||||
push-image:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
@ -75,11 +75,11 @@ jobs:
|
||||
with:
|
||||
install: true
|
||||
|
||||
- name: Setup QEMU
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
|
||||
- name: Build and Push Image
|
||||
uses: docker/build-push-action@v3
|
||||
- name: Build Image
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: ./
|
||||
file: ${{ matrix.dockerfile }}
|
Loading…
Reference in New Issue
Block a user