Update build.yml

Add docker/setup-buildx new actions
This commit is contained in:
mjanez 2023-04-13 12:21:25 +00:00 committed by GitHub
parent 7a39ea5f41
commit a9ab4a35ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 9 deletions

View File

@ -14,34 +14,42 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1 uses: docker/setup-buildx-action@v2
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v1 uses: docker/setup-qemu-action@v2
- name: NGINX build - name: NGINX build
uses: docker/build-push-action@v2 uses: docker/build-push-action@v4
with: with:
context: ./nginx context: ./nginx
file: ./nginx/Dockerfile file: ./nginx/Dockerfile
push: false push: false
tags: kowhai/ckan-docker-nginx:test-build-only tags: mjanez/ckan-docker-nginx:test-build-only
- name: Apache HTTP Server build
uses: docker/build-push-action@v4
with:
context: ./apache
file: ./apache/Dockerfile
push: false
tags: mjanez/ckan-docker-apache:test-build-only
- name: PostgreSQL build - name: PostgreSQL build
uses: docker/build-push-action@v2 uses: docker/build-push-action@v4
with: with:
context: ./postgresql context: ./postgresql
file: ./postgresql/Dockerfile file: ./postgresql/Dockerfile
push: false push: false
tags: kowhai/ckan-docker-postgresql:test-build-only tags: mjanez/ckan-docker-postgresql:test-build-only
- name: Solr build - name: Solr build
uses: docker/build-push-action@v2 uses: docker/build-push-action@v4
with: with:
context: ./solr context: ./solr
file: ./solr/Dockerfile file: ./solr/Dockerfile
push: false push: false
tags: kowhai/ckan-docker-solr:test-build-only tags: mjanez/ckan-docker-solr:test-build-only