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:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v2
- name: NGINX build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: ./nginx
file: ./nginx/Dockerfile
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
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: ./postgresql
file: ./postgresql/Dockerfile
push: false
tags: kowhai/ckan-docker-postgresql:test-build-only
tags: mjanez/ckan-docker-postgresql:test-build-only
- name: Solr build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: ./solr
file: ./solr/Dockerfile
push: false
tags: kowhai/ckan-docker-solr:test-build-only
tags: mjanez/ckan-docker-solr:test-build-only