diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..37d38ee --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +version: 2 + +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + - package-ecosystem: "docker" + directory: "/" + schedule: + interval: "daily" \ No newline at end of file diff --git a/.github/workflows/check-and-upgrade.yml b/.github/workflows/check-and-upgrade.yml index 75b8bb1..4ff92d5 100644 --- a/.github/workflows/check-and-upgrade.yml +++ b/.github/workflows/check-and-upgrade.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Python uses: actions/setup-python@v4 @@ -35,7 +35,7 @@ jobs: run: python upgrade.py - name: Create Pull Request - uses: peter-evans/create-pull-request@v4 + uses: peter-evans/create-pull-request@v5 if: ${{ fromJSON(steps.result.outputs.updated) }} env: MESSAGE: > @@ -59,7 +59,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Python uses: actions/setup-python@v4 diff --git a/.github/workflows/dockerhub-description.yml b/.github/workflows/dockerhub-description.yml index ec7a505..7d86974 100644 --- a/.github/workflows/dockerhub-description.yml +++ b/.github/workflows/dockerhub-description.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Docker Hub Description uses: peter-evans/dockerhub-description@v3 with: diff --git a/.github/workflows/publish-images.yml b/.github/workflows/publish-images.yml index 50f1107..c04818e 100644 --- a/.github/workflows/publish-images.yml +++ b/.github/workflows/publish-images.yml @@ -4,6 +4,9 @@ on: push: branches: - master + paths: + - .github/workflows/publish-image.yml + - docker/** env: IMAGE_NAME: "tixati" @@ -16,7 +19,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Load JSON file id: load @@ -30,11 +33,11 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Docker meta id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: | ${{ secrets.DOCKER_HUB_USERNAME }}/${{ env.IMAGE_NAME }} @@ -61,7 +64,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: ./docker build-args: |