From a21838af085dc424e297eaf01ddaa3fd502051a2 Mon Sep 17 00:00:00 2001 From: David Valentine Date: Thu, 20 Jun 2024 10:17:09 -0700 Subject: [PATCH] action updates --- .github/workflows/docker-dev.yml | 12 ++++++------ .github/workflows/docker_glcon.yml | 18 +++++++++--------- .github/workflows/docker_gleaner.yml | 14 +++++++------- 3 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/docker-dev.yml b/.github/workflows/docker-dev.yml index a0ec32ef..6f355c74 100644 --- a/.github/workflows/docker-dev.yml +++ b/.github/workflows/docker-dev.yml @@ -27,7 +27,7 @@ jobs: - name: Install Go uses: actions/setup-go@v2 - name: checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: donwload schema run: curl https://schema.org/version/latest/schemaorg-current-https.jsonld --output assets/schemaorg-current-https.jsonld - name: donwload schema @@ -52,13 +52,13 @@ jobs: # - name: Checkout Repo # uses: actions/checkout@v2 - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 with: platforms: 'arm64,arm' - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Login to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} @@ -68,7 +68,7 @@ jobs: echo "VERSION=$VER" >> $GITHUB_ENV - name: Extract metadata (tags, labels) for Docker id: meta - uses: docker/metadata-action@v3 + uses: docker/metadata-action@v5 with: images: nsfearthcube/gleaner flavor: | @@ -80,7 +80,7 @@ jobs: type=semver,pattern={{version}} - name: Build and push id: docker_build - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v6 with: push: true platforms: linux/amd64,linux/arm64 diff --git a/.github/workflows/docker_glcon.yml b/.github/workflows/docker_glcon.yml index 35ff50c7..e9a287cf 100644 --- a/.github/workflows/docker_glcon.yml +++ b/.github/workflows/docker_glcon.yml @@ -46,7 +46,7 @@ jobs: - name: Install Go uses: actions/setup-go@v4 - name: checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: donwload schema run: curl https://schema.org/version/latest/schemaorg-current-https.jsonld --output assets/schemaorg-current-https.jsonld - name: donwload schema @@ -71,19 +71,19 @@ jobs: # - name: Checkout Repo # uses: actions/checkout@v2 - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 with: platforms: ${{matrix.goarch}} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Extract metadata (tags, labels) for Docker id: meta - uses: docker/metadata-action@v3 + uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY_IMAGE }} flavor: | @@ -95,7 +95,7 @@ jobs: - name: Build and push id: build - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v6 with: #push: true platforms: ${{ matrix.platform }} @@ -133,11 +133,11 @@ jobs: path: /tmp/digests - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Docker meta id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY_IMAGE }} flavor: | @@ -149,7 +149,7 @@ jobs: - name: Login to Docker Hub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} diff --git a/.github/workflows/docker_gleaner.yml b/.github/workflows/docker_gleaner.yml index 90716222..ea5102dc 100644 --- a/.github/workflows/docker_gleaner.yml +++ b/.github/workflows/docker_gleaner.yml @@ -48,7 +48,7 @@ jobs: - name: Install Go uses: actions/setup-go@v4 - name: checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: donwload schema run: curl https://schema.org/version/latest/schemaorg-current-https.jsonld --output assets/schemaorg-current-https.jsonld - name: donwload schema @@ -88,11 +88,11 @@ jobs: # - name: Checkout Repo # uses: actions/checkout@v2 - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 with: platforms: ${{matrix.goarch}} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to DockerHub uses: docker/login-action@v1 with: @@ -100,7 +100,7 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Extract metadata (tags, labels) for Docker id: meta - uses: docker/metadata-action@v3 + uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY_IMAGE }} flavor: | @@ -111,7 +111,7 @@ jobs: type=semver,pattern={{version}} - name: Build and push id: build - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v6 with: #push: true platforms: ${{ matrix.platform }} @@ -149,11 +149,11 @@ jobs: path: /tmp/digests - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Docker meta id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY_IMAGE }} flavor: |