Compare commits

...

1 Commits

Author SHA1 Message Date
Dimitrios Vasilas 4e33c6182b .github/tests: build image with svc-base dockerfile 2023-01-30 10:10:02 -05:00
1 changed files with 7 additions and 6 deletions

View File

@ -146,11 +146,12 @@ jobs:
uses: docker/build-push-action@v3
with:
push: true
file: images/svc-base/Dockerfile
context: .
provenance: false
tags: |
ghcr.io/${{ github.repository }}/cloudserver:${{ github.sha }}
registry.scality.com/cloudserver-dev/cloudserver:${{ github.sha }}
ghcr.io/${{ github.repository }}/cloudserver:${{ github.sha }}-svc-base
registry.scality.com/cloudserver-dev/cloudserver:${{ github.sha }}-svc-base
cache-from: type=gha,scope=cloudserver
cache-to: type=gha,mode=max,scope=cloudserver
@ -158,7 +159,7 @@ jobs:
runs-on: ubuntu-latest
needs: build
env:
CLOUDSERVER_IMAGE: ghcr.io/${{ github.repository }}/cloudserver:${{ github.sha }}
CLOUDSERVER_IMAGE: ghcr.io/${{ github.repository }}/cloudserver:${{ github.sha }}-svc-base
S3BACKEND: mem
S3_LOCATION_FILE: /usr/src/app/tests/locationConfig/locationConfigTests.json
S3DATA: multiple
@ -197,7 +198,7 @@ jobs:
env:
S3BACKEND: file
S3VAULT: mem
CLOUDSERVER_IMAGE: ghcr.io/${{ github.repository }}/cloudserver:${{ github.sha }}
CLOUDSERVER_IMAGE: ghcr.io/${{ github.repository }}/cloudserver:${{ github.sha }}-svc-base
MPU_TESTING: "yes"
JOB_NAME: ${{ github.job }}
steps:
@ -243,7 +244,7 @@ jobs:
ENABLE_UTAPI_V2: t
S3BACKEND: mem
BUCKET_DENY_FILTER: utapi-event-filter-deny-bucket
CLOUDSERVER_IMAGE: ghcr.io/${{ github.repository }}/cloudserver:${{ github.sha }}
CLOUDSERVER_IMAGE: ghcr.io/${{ github.repository }}/cloudserver:${{ github.sha }}-svc-base
JOB_NAME: ${{ github.job }}
steps:
- name: Checkout
@ -278,7 +279,7 @@ jobs:
S3BACKEND: file
S3VAULT: mem
MPU_TESTING: true
CLOUDSERVER_IMAGE: ghcr.io/${{ github.repository }}/cloudserver:${{ github.sha }}
CLOUDSERVER_IMAGE: ghcr.io/${{ github.repository }}/cloudserver:${{ github.sha }}-svc-base
JOB_NAME: ${{ github.job }}
steps:
- name: Checkout