summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth <[email protected]>2023-07-02 16:08:10 -0400
committerseth <[email protected]>2023-07-02 16:08:36 -0400
commit768d6281a829da64c5ee085f21b58a8aa88bda0e (patch)
treeb422912ef706fe068ea3b863c9291b45b5c4131a
parent4f11ca7e69627e091c75e3f28387badbb7b0dfb9 (diff)
fix(actions): fix some env vars in upload.yaml
-rw-r--r--.github/workflows/upload.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/upload.yaml b/.github/workflows/upload.yaml
index 1122491..0f69606 100644
--- a/.github/workflows/upload.yaml
+++ b/.github/workflows/upload.yaml
@@ -26,17 +26,17 @@ jobs:
nix build --accept-flake-config -L .#container
readlink result | xargs -I {} cp {} teawiebot.tar.gz
- - name: login to ${{ env.REGISTRY }}
+ - name: login to registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ env.USERNAME }}
password: ${{ github.token }}
- - name: upload to ${{ env.REGISTRY }}
+ - name: upload to registry
env:
PUSH_PREFIX: ${{ env.REGISTRY }}/${{ env.USERNAME }}
run: |
docker load < teawiebot.tar.gz
- docker tag teawiebot:latest ${{ env.REGISTRY_PREFIX }}/teawiebot:latest
+ docker tag teawiebot:latest ${{ env.PUSH_PREFIX }}/teawiebot:latest
docker push ${{ env.PUSH_PREFIX }}/teawiebot:latest