diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6d7089b..680fe6b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -94,16 +94,16 @@ jobs: uses: docker/login-action@v3 continue-on-error: true with: - registry: ${{ secrets.REGISTRY_URL }} - username: ${{ secrets.REGISTRY_USERNAME }} - password: ${{ secrets.REGISTRY_PASSWORD }} + registry: ${{ env.REGISTRY_URL }} + username: ${{ env.REGISTRY_USERNAME }} + password: ${{ env.REGISTRY_PASSWORD }} - name: Build (and optionally push) image uses: docker/build-push-action@v5 with: context: . file: Dockerfile - push: ${{ steps.meta.outputs.on_default == 'true' && steps.meta.outputs.event_name != 'pull_request' && (secrets.REGISTRY_URL != '' && secrets.REGISTRY_USERNAME != '' && secrets.REGISTRY_PASSWORD != '') }} + push: ${{ steps.meta.outputs.on_default == 'true' && steps.meta.outputs.event_name != 'pull_request' && (env.REGISTRY_URL != '' && env.REGISTRY_USERNAME != '' && env.REGISTRY_PASSWORD != '') }} tags: | - ${{ secrets.REGISTRY_URL }}/allucanget/contact.allucanget.biz:latest - ${{ secrets.REGISTRY_URL }}/allucanget/contact.allucanget.biz:${{ steps.meta.outputs.sha }} + ${{ env.REGISTRY_URL }}/allucanget/contact.allucanget.biz:latest + ${{ env.REGISTRY_URL }}/allucanget/contact.allucanget.biz:${{ steps.meta.outputs.sha }}