fix: Login to dockerhub before pushing the release images
@@ -29,7 +29,11 @@ jobs:
make build-all-small
- name: Build Carrier images
if: steps.branch.outputs.BRANCH_NAME == 'main'
+ env:
+ REGISTRY_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
+ REGISTRY_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}
run: |
+ docker login -u "$REGISTRY_USERNAME" -p "$REGISTRY_PASSWORD"
make build-images
- name: Create CHECKSUMS
if: steps.branch.outputs.BRANCH_NAME == 'main'
