Skip to content

chore(deps): bump github.com/aws/aws-sdk-go-v2/credentials from 1.19.7 to 1.19.12 in /backend #2650

chore(deps): bump github.com/aws/aws-sdk-go-v2/credentials from 1.19.7 to 1.19.12 in /backend

chore(deps): bump github.com/aws/aws-sdk-go-v2/credentials from 1.19.7 to 1.19.12 in /backend #2650

Workflow file for this run

name: Build PR Images
on:
pull_request_target:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
permissions:
contents: read
packages: write
id-token: write
jobs:
build-pr-images:
# Only build if the PR is from a branch within the getarcaneapp organization
if: github.event.pull_request.head.repo.owner.login == 'getarcaneapp'
runs-on: depot-ubuntu-latest
env:
MANAGER_IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/arcane
AGENT_IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/arcane-headless
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Set up Depot CLI
uses: depot/setup-action@v1
- name: Setup Just
uses: extractions/setup-just@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Manager image metadata
id: manager-meta
uses: docker/metadata-action@v6
with:
images: ${{ env.MANAGER_IMAGE_NAME }}
tags: |
type=raw,value=pr-${{ github.event.pull_request.number }}
labels: |
org.opencontainers.image.authors=OFKM Technologies
org.opencontainers.image.url=https://github.com/getarcaneapp/arcane
org.opencontainers.image.documentation=https://github.com/getarcaneapp/arcane/blob/main/README.md
org.opencontainers.image.source=https://github.com/getarcaneapp/arcane
org.opencontainers.image.version=pr-${{ github.event.pull_request.number }}
org.opencontainers.image.revision=${{ github.event.pull_request.head.sha }}
org.opencontainers.image.licenses=BSD-3-Clause
org.opencontainers.image.ref.name=arcane
org.opencontainers.image.title=Arcane
org.opencontainers.image.description=Modern Docker Management, Made for Everyone
com.getarcaneapp.arcane=true
- name: Agent image metadata
id: agent-meta
uses: docker/metadata-action@v6
with:
images: ${{ env.AGENT_IMAGE_NAME }}
tags: |
type=raw,value=pr-${{ github.event.pull_request.number }}
labels: |
org.opencontainers.image.authors=OFKM Technologies
org.opencontainers.image.url=https://github.com/getarcaneapp/arcane
org.opencontainers.image.documentation=https://github.com/getarcaneapp/arcane/blob/main/README.md
org.opencontainers.image.source=https://github.com/getarcaneapp/arcane
org.opencontainers.image.version=pr-${{ github.event.pull_request.number }}
org.opencontainers.image.revision=${{ github.event.pull_request.head.sha }}
org.opencontainers.image.licenses=BSD-3-Clause
org.opencontainers.image.ref.name=arcane-agent
org.opencontainers.image.title=Arcane Agent
org.opencontainers.image.description=Arcane Agent
com.getarcaneapp.arcane=true
com.getarcaneapp.arcane.agent=true
- name: Build and push manager image
uses: depot/build-push-action@v1
with:
context: .
file: docker/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.manager-meta.outputs.tags }}
labels: ${{ steps.manager-meta.outputs.labels }}
build-args: |
VERSION=pr-${{ github.event.pull_request.number }}
REVISION=${{ github.event.pull_request.head.sha }}
sbom: true
provenance: true
- name: Build and push agent image
uses: depot/build-push-action@v1
with:
context: .
file: docker/Dockerfile-agent
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.agent-meta.outputs.tags }}
labels: ${{ steps.agent-meta.outputs.labels }}
build-args: |
VERSION=pr-${{ github.event.pull_request.number }}
REVISION=${{ github.event.pull_request.head.sha }}
sbom: true
provenance: true
- name: Find Comment
uses: peter-evans/find-comment@v4
id: fc
with:
issue-number: ${{ github.event.pull_request.number }}
comment-author: "getarcaneappbot"
body-includes: Container images for this PR have been built successfully!
- name: Comment PR Images
uses: peter-evans/create-or-update-comment@v5
with:
comment-id: ${{ steps.fc.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
token: ${{ secrets.ARCANE_BOT_TOKEN }}
body: |
Container images for this PR have been built successfully!
- **Manager**: `${{ env.MANAGER_IMAGE_NAME }}:pr-${{ github.event.pull_request.number }}`
- **Agent**: `${{ env.AGENT_IMAGE_NAME }}:pr-${{ github.event.pull_request.number }}`
Built from commit ${{ github.event.pull_request.head.sha }}
edit-mode: replace