diff --git a/.gitea/workflows/main.yaml b/.gitea/workflows/main.yaml index fc8e5f2..503926d 100644 --- a/.gitea/workflows/main.yaml +++ b/.gitea/workflows/main.yaml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd3143118844c72031235010 # v6 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - name: Hadolint uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0 continue-on-error: true @@ -19,7 +19,7 @@ jobs: needs: lint steps: - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd3143118844c72031235010 # v6 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - name: Build image run: docker build -t ci-image:${{ github.sha }} . - name: Save image @@ -35,7 +35,7 @@ jobs: needs: build steps: - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd3143118844c72031235010 # v6 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - name: Download artifact uses: ChristopherHX/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7 # main with: @@ -51,7 +51,7 @@ jobs: if: github.event_name != 'pull_request' steps: - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd3143118844c72031235010 # v6 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 with: fetch-depth: 0 - name: Download artifact @@ -61,7 +61,7 @@ jobs: - name: Load image run: docker load < image.tar - name: Login to Docker Hub - uses: docker/login-action@e92390c5fb421da1463c202d90fedabe47eede95 # v3 + uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} @@ -71,7 +71,7 @@ jobs: docker push jcabillot/crond:latest - name: Bump version and push tag if: github.event_name == 'push' - uses: anothrNick/github-tag-action@4ed44965e0dbd6c1f5a8d1c2b8b40c86275e9e51 # v1.75.0 + uses: anothrNick/github-tag-action@4ed44965e0db8dab2b466a16da04aec3cc312fd8 # v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} DEFAULT_BUMP: patch