diff --git a/.github/workflows/publish-image.yml b/.github/workflows/publish-image.yml index fad128f..e60a83e 100644 --- a/.github/workflows/publish-image.yml +++ b/.github/workflows/publish-image.yml @@ -35,11 +35,11 @@ jobs: if_false: "canary" - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Login to GitHub Container Registry if: ${{ github.event_name != 'pull_request' }} - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -47,14 +47,14 @@ jobs: - name: Login to Docker Hub if: ${{ github.event_name != 'pull_request' }} - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: "${{ secrets.DOCKERHUB_USERNAME }}" password: "${{ secrets.DOCKERHUB_TOKEN }}" - name: Docker meta Docker Hub id: meta-dockerhub - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: peimanja/artifactory_exporter tags: | @@ -66,7 +66,7 @@ jobs: - name: Docker meta GitHub id: meta-github - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: "ghcr.io/${{ github.event.repository.owner.login }}/${{ github.event.repository.name }}" tags: | @@ -77,17 +77,17 @@ jobs: latest=true - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Get date id: date run: echo "value=$(date +%FT%TZ)" >> "${GITHUB_OUTPUT}" - name: Build/Push - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . push: ${{ github.event_name != 'pull_request' }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 50f18c6..8b615c9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: - goarch: "386" goos: darwin steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.event.release.tag_name || github.event.inputs.tag }} @@ -29,7 +29,7 @@ jobs: id: date run: echo "value=$(date +%FT%TZ)" >> "${GITHUB_OUTPUT}" - - uses: wangyoucao577/go-release-action@master + - uses: wangyoucao577/go-release-action@v1 with: github_token: ${{ secrets.GITHUB_TOKEN }} goversion: 1.21 diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml index 7aef9b3..b41f146 100644 --- a/.github/workflows/stale.yaml +++ b/.github/workflows/stale.yaml @@ -8,8 +8,10 @@ jobs: stale: runs-on: ubuntu-latest steps: - - uses: actions/stale@v7 + - uses: actions/stale@v9 with: stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.' days-before-stale: 30 days-before-close: 5 + exempt-pr-labels: 'keep-open' + exempt-issue-labels: 'keep-open'