From d4f9c39cea2dce4f5d04001a13ab41b58a1bc6b6 Mon Sep 17 00:00:00 2001 From: Gertjan Krol Date: Fri, 1 Sep 2023 23:58:13 +0200 Subject: [PATCH] Added Docker login action --- .forgejo/workflows/release.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/release.yaml b/.forgejo/workflows/release.yaml index cf0c8d9..aa0d1bd 100644 --- a/.forgejo/workflows/release.yaml +++ b/.forgejo/workflows/release.yaml @@ -17,7 +17,11 @@ jobs: - name: Check out repository uses: actions/checkout@v3 - name: Docker login - run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} https://${REGISTRY} + uses: actions/docker-login@v2 + with: + registry: ${{ REGISTRY }} + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} - name: Build and push uses: actions/docker-build-push@v4 with: