diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 5b1989c..6ad7743 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -5,7 +5,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set ENV variables run: | cat .env >> $GITHUB_ENV @@ -15,23 +15,23 @@ jobs: echo "BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/} | tr / -)" >> $GITHUB_ENV echo "DOCKER_TAG=$(echo ${GITHUB_REPOSITORY#*/}):$(echo ${GITHUB_REF#refs/heads/} | tr / -)" >> $GITHUB_ENV - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2.4.1 + uses: docker/setup-buildx-action@v3 with: install: true - name: Cache Docker layers - uses: actions/cache@v3.2.6 + uses: actions/cache@v4 with: path: /tmp/.buildx-cache key: ${{runner.os}}-buildx-${{github.sha}} restore-keys: ${{runner.os}}-buildx- - name: Login to GitHub Container Registry - uses: docker/login-action@v2.1.0 + uses: docker/login-action@v3 with: registry: ${{env.REGISTRY}} username: ${{env.REPO_OWNER}} password: ${{secrets.CR_PAT}} - name: Build and push - uses: docker/build-push-action@v4.0.0 + uses: docker/build-push-action@v6 with: context: . file: ./Dockerfile