Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Update workflow

Mike Cao42888b75c4df
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 41b829282..87b2945b2 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -28,9 +28,10 @@ jobs:
.
- name: Docker login
- run: >-
- echo "${{ secrets.GITHUB_TOKEN }}"
- | docker login -u "${{ github.actor }}" --password-stdin
+ env:
+ DOCKER_USERNAME: ${{ github.actor }}
+ DOCKER_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
+ run: docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD" ghcr.io
- name: Push image to GitHub
run: |