diff --git a/.github/workflows/dockerize.yml b/.github/workflows/dockerize.yml index 4ac2b6e..b2a28f2 100644 --- a/.github/workflows/dockerize.yml +++ b/.github/workflows/dockerize.yml @@ -11,7 +11,7 @@ jobs: build: runs-on: ubuntu-latest env: - USER: jmqm + USERNAME: jmqm REPOSITORY: vaultwarden_backup TAG: latest @@ -22,15 +22,15 @@ jobs: - name: Log in to Docker Hub. uses: docker/login-action@v1.10.0 with: - username: ${{ secrets.DOCKER_HUB_USERNAME }} + username: ${{ env.USERNAME }} password: ${{ secrets.DOCKER_HUB_PASSWORD }} - name: Update README and description. uses: peter-evans/dockerhub-description@v2.4.3 with: - username: ${{ secrets.DOCKER_HUB_USERNAME }} + username: ${{ env.USERNAME }} password: ${{ secrets.DOCKER_HUB_PASSWORD }} # This action does not support tokens. - repository: ${{ env.USER }}/${{ env.REPOSITORY }} + repository: ${{ env.USERNAME }}/${{ env.REPOSITORY }} short-description: ${{ github.event.repository.description }} readme-filepath: ./README.md @@ -40,4 +40,4 @@ jobs: with: context: . push: true - tags: ${{ env.USER }}/${{ env.REPOSITORY }}:${{ env.TAG }} + tags: ${{ env.USERNAME }}/${{ env.REPOSITORY }}:${{ env.TAG }}