diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 393c72c93..42c97d841 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,10 +11,10 @@ jobs: steps: - uses: actions/checkout@v1 - name: Docker Login Registry - env: - DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} - DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} - run: docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKER_PASSWORD }} + password: ${{ secrets.DOCKER_USERNAME }} - name: Building Docker Image run: docker build --no-cache @@ -39,10 +39,10 @@ jobs: swagger generate client -f ../swagger.yaml -A authentik -t pkg/ go build -v . - name: Docker Login Registry - env: - DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} - DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} - run: docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKER_PASSWORD }} + password: ${{ secrets.DOCKER_USERNAME }} - name: Building Docker Image run: | cd outpost/ @@ -63,10 +63,10 @@ jobs: run: | docker run --rm -v $(pwd):/local openapitools/openapi-generator-cli generate -i /local/swagger.yaml -g typescript-fetch -o /local/web/api --additional-properties=typescriptThreePlus=true,supportsES6=true,npmName=authentik-api,npmVersion=1.0.0 - name: Docker Login Registry - env: - DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} - DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} - run: docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKER_PASSWORD }} + password: ${{ secrets.DOCKER_USERNAME }} - name: Building Docker Image run: | cd web/