From 5b00e2f10a97750f2e4dc4734021abfa0a27bbfb Mon Sep 17 00:00:00 2001 From: jhot Date: Fri, 15 Sep 2023 12:25:50 -0600 Subject: [PATCH] Docker action versions --- .forgejo/workflows/build.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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' }}