diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index cd9295c..c366dd6 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -44,4 +44,4 @@ jobs: (github.event_name == 'workflow_dispatch' || (steps.changed.outputs.any_changed == 'true' && github.event_name == 'push')) env: - REGISTRY_PASSWORD: ${secrets.REGISTRY_PASSWORD} + REGISTRY_PASSWORD: ${{secrets.REGISTRY_PASSWORD}} diff --git a/Makefile b/Makefile index ab33390..680d7e0 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,7 @@ $(TAGS): PUSH=$(foreach tag,$(TAGS),push-$(tag)) $(PUSH): - echo $$REGISTRY_PASSWORD | buildah login --username $(REGISTRY_USER) --password-stdin $(REGISTRY) + echo -n "$$REGISTRY_PASSWORD" | wc + echo "$$REGISTRY_PASSWORD" | buildah login --username $(REGISTRY_USER) --password-stdin $(REGISTRY) buildah push --rm $(IMAGE):$@ docker://$(IMAGE):$@ buildah logout