Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add/system test #15

Open
wants to merge 10 commits into
base: staging
Choose a base branch
from
Prev Previous commit
Next Next commit
updated gitactions for system test
shahnawaz-creator committed Mar 16, 2023
commit efad6543e4003135fecccedefe9f06f4fb74a9ad
18 changes: 9 additions & 9 deletions .github/workflows/build-push-client-docker-image.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: build-&-publish-minio-client-docker-image


# concurrency:
# group: "publish-${{ github.ref }}"
# cancel-in-progress: true
concurrency:
group: "publish-${{ github.ref }}"
cancel-in-progress: true

on:
push:
@@ -62,13 +62,13 @@ jobs:
docker push $MINIO_CLIENT_REGISTRY:$TAG-$SHORT_SHA

- name: Push staging tag
if: ${{ github.event.inputs.tag }} == 'yes' || github.ref == 'refs/heads/staging'
if: ${{ github.event.inputs.tag == 'yes' || github.ref == 'refs/heads/staging' }}
run: |
docker tag $MINIO_CLIENT_REGISTRY:latest $MINIO_CLIENT_REGISTRY:staging
docker push ${{ secrets.MINIO_CLIENT_REGISTRY }}:staging

- name: Push latest tag
if: ${{ github.event.inputs.tag }} == 'yes' || github.ref == 'refs/heads/master'
if: ${{ github.event.inputs.tag == 'yes' || github.ref == 'refs/heads/master' }}
run: |
docker push ${{ secrets.MINIO_CLIENT_REGISTRY }}:latest

@@ -115,13 +115,13 @@ jobs:
docker push $MINIO_LOGSEARCHAPI_REGISTRY:$TAG-$SHORT_SHA

- name: Push staging tag
if: ${{ github.event.inputs.tag }} == 'yes' || github.ref == 'refs/heads/staging'
if: ${{ github.event.inputs.tag == 'yes' || github.ref == 'refs/heads/staging' }}
run: |
docker tag $MINIO_LOGSEARCHAPI_REGISTRY:latest $MINIO_LOGSEARCHAPI_REGISTRY:staging
docker push ${{ secrets.MINIO_LOGSEARCHAPI_REGISTRY }}:staging

- name: Push latest tag
if: ${{ github.event.inputs.tag }} == 'yes' || github.ref == 'refs/heads/master'
if: ${{ github.event.inputs.tag == 'yes' || github.ref == 'refs/heads/master' }}
run: |
docker push ${{ secrets.MINIO_LOGSEARCHAPI_REGISTRY }}:latest

@@ -175,13 +175,13 @@ jobs:
docker push $MINIO_SERVER_REGISTRY:staging

- name: Push staging tag
if: ${{ github.event.inputs.tag }} == 'yes' || github.ref == 'refs/heads/staging'
if: ${{ github.event.inputs.tag == 'yes' || github.ref == 'refs/heads/staging' }}
run: |
docker tag $MINIO_SERVER_REGISTRY:latest $MINIO_SERVER_REGISTRY:staging
docker push ${{ secrets.MINIO_SERVER_REGISTRY }}:staging

- name: Push latest tag
if: ${{ github.event.inputs.tag }} == 'yes' || github.ref == 'refs/heads/master'
if: ${{ github.event.inputs.tag == 'yes' || github.ref == 'refs/heads/master' }}
run: |
docker push ${{ secrets.MINIO_SERVER_REGISTRY }}:latest