diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index cebb02f..214f5a1 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -15,10 +15,10 @@ jobs: - name: Checkout uses: https://code.forgejo.org/actions/checkout@v3 - name: Set up Docker Buildx - uses: https://github.com/docker/setup-buildx-action@v3 + uses: https://github.com/docker/setup-buildx-action@v2.10.0 - name: Docker metadata id: meta - uses: https://github.com/docker/metadata-action@v5 + uses: https://github.com/docker/metadata-action@v4.6.0 with: images: name/app tags: | @@ -28,13 +28,13 @@ jobs: type=semver,pattern={{major}}.{{minor}} - name: Login to DockerHub if: github.event_name != 'pull_request' - uses: https://github.com/docker/login-action@v3 + uses: https://github.com/docker/login-action@v2.2.0 with: registry: code.jhot.me username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_TOKEN }} - name: Build and push - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v4.2.1 with: context: . push: ${{ github.event_name != 'pull_request' }}