Compare commits

...

1 Commits

Author SHA1 Message Date
Dimitrios Vasilas cbda45670d fix docker push 2023-01-27 09:23:18 -05:00
1 changed files with 5 additions and 1 deletions

View File

@ -130,6 +130,9 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1.6.0 uses: docker/setup-buildx-action@v1.6.0
with:
driver-opts: |
image=moby/buildkit:v0.10.6
- name: Login to GitHub Registry - name: Login to GitHub Registry
uses: docker/login-action@v1.10.0 uses: docker/login-action@v1.10.0
with: with:
@ -143,10 +146,11 @@ jobs:
username: ${{ secrets.REGISTRY_LOGIN }} username: ${{ secrets.REGISTRY_LOGIN }}
password: ${{ secrets.REGISTRY_PASSWORD }} password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build and push cloudserver image - name: Build and push cloudserver image
uses: docker/build-push-action@v2.7.0 uses: docker/build-push-action@v3
with: with:
push: true push: true
context: . context: .
provenance: false
tags: | tags: |
ghcr.io/${{ github.repository }}/cloudserver:${{ github.sha }} ghcr.io/${{ github.repository }}/cloudserver:${{ github.sha }}
registry.scality.com/cloudserver-dev/cloudserver:${{ github.sha }} registry.scality.com/cloudserver-dev/cloudserver:${{ github.sha }}