From 1215a6daae4f30cc8f3f21f0c10ecce33a8c722a Mon Sep 17 00:00:00 2001 From: Brian Bolt Date: Fri, 7 Jun 2024 12:17:46 -0700 Subject: [PATCH] ACAS-536: Update Github Actions dependencies --- .github/workflows/docker-image.yml | 12 ++++++------ .github/workflows/trigger-tag.yml | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 77be4f1..d49729d 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -11,30 +11,30 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Docker meta id: meta - uses: docker/metadata-action@v3 + uses: docker/metadata-action@v5 with: # list of Docker images to use as base name for tags images: | ${{ github.repository }}-oss - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 - 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@v1 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5 with: push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} diff --git a/.github/workflows/trigger-tag.yml b/.github/workflows/trigger-tag.yml index 8205b96..5c5cb65 100644 --- a/.github/workflows/trigger-tag.yml +++ b/.github/workflows/trigger-tag.yml @@ -11,7 +11,7 @@ jobs: steps: # Checkout this repo - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 # Get branch name @@ -28,7 +28,7 @@ jobs: echo "NEXT_TAG=$(echo $LAST_TAG | awk -F-dev -v OFS=-dev '{$NF += 1 ; print}')" >> $GITHUB_ENV # Trigger the build - name: Trigger the tagger workflow with branch ${{env.BRANCH_NAME}} and tag ${{ env.NEXT_TAG }} - uses: actions/github-script@v5 + uses: actions/github-script@v7 with: github-token: ${{ secrets.ACAS_WORKFLOWS_TOKEN }} script: |