Skip to content

Commit a2f1ce6

Browse files
enh: add MINIO image build step to CI workflows
1 parent 267df62 commit a2f1ce6

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

.github/workflows/build_and_push.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,14 @@ jobs:
6262
push: true
6363
tags: |
6464
${{ secrets.DOCKER_USERNAME }}/dcor-ckan:${{ env.VERSION }}
65-
${{ secrets.DOCKER_USERNAME }}/dcor-ckan:latest
65+
${{ secrets.DOCKER_USERNAME }}/dcor-ckan:latest
66+
67+
- name: Build and Push MINIO Image
68+
uses: docker/build-push-action@v2
69+
with:
70+
context: ./minio
71+
file: ./minio/Dockerfile
72+
push: true
73+
tags: |
74+
${{ secrets.DOCKER_USERNAME }}/dcor-minio:${{ env.VERSION }}
75+
${{ secrets.DOCKER_USERNAME }}/dcor-minio:latest

.github/workflows/only_build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,11 @@ jobs:
3939
file: ./ckan/Dockerfile.dev # Build dcor image from dev
4040
push: false
4141
tags: ${{ secrets.DOCKER_USERNAME }}/dcor-ckan:test-build-only
42+
43+
- name: Build MINIO Image
44+
uses: docker/build-push-action@v2
45+
with:
46+
context: ./minio
47+
file: ./minio/Dockerfile
48+
push: false
49+
tags: ${{ secrets.DOCKER_USERNAME }}/dcor-minio:test-build-only

0 commit comments

Comments
 (0)