diff --git a/.github/workflows/build-pipeline.yml b/.github/workflows/build-pipeline.yml index 3afa65b..c3d15c8 100644 --- a/.github/workflows/build-pipeline.yml +++ b/.github/workflows/build-pipeline.yml @@ -3,17 +3,17 @@ name: Docker Image CI on: [push] # Environment variables available to all jobs and steps in this workflow env: # Or as an environment variable - docker_username: ${{ secrets.DOCKER_USER }} - docker_password: ${{ secrets.DOCKER_PW }} + docker_username: ${{ github.actor }} + docker_password: ${{ secrets.GITHUB_TOKEN }} jobs: test-code: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Upload workspace - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: workspace path: . @@ -25,7 +25,7 @@ jobs: needs: test-code steps: - name: Download workspace - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4 with: name: workspace path: . @@ -41,7 +41,7 @@ jobs: needs: build-docker-image steps: - name: Download workspace - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4 with: name: workspace path: .