Skip to content

build(deps): bump docker/setup-buildx-action from 3.0.0 to 3.2.0 #60

build(deps): bump docker/setup-buildx-action from 3.0.0 to 3.2.0

build(deps): bump docker/setup-buildx-action from 3.0.0 to 3.2.0 #60

Workflow file for this run

---
name: Deploy Test
on:
push:
branches: [ main ]
paths:
- test/Dockerfile
- .github/workflows/deploy-test.yml
workflow_dispatch:
env:
REGISTRY: ghcr.io
permissions:
contents: read
jobs:
push_to_registry:
name: Deploy Docker Image - Test
runs-on: ubuntu-latest
permissions:
deployments: write
packages: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.images.dockerfile }}
cancel-in-progress: true
strategy:
fail-fast: false
matrix:
images:
- dockerfile: test/Dockerfile
tag: test
deployment-environment-identifier: Test
timeout-minutes: 60
steps:
- name: Repository checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Get current date
run: |
echo "Appending the build date contents to GITHUB_ENV..."
echo "BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> "${GITHUB_ENV}"
- name: Set up Docker
uses: docker/setup-buildx-action@2b51285047da1547ffb1b2203d8be4c0af6b1f20 # v3.2.0
- name: Login to GitHub Container Registry
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Start deployment
uses: bobheadxi/deployments@88ce5600046c82542f8246ac287d0a53c461bca3 # v1.4.0
id: deployment
with:
step: start
token: ${{ secrets.GITHUB_TOKEN }}
env: ${{ matrix.images.deployment-environment-identifier }}
- name: Build and Push Container
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5.1.0
with:
context: .
file: ${{ matrix.images.dockerfile }}
build-args: |
BUILD_DATE=${{ env.BUILD_DATE }}
BUILD_REVISION=${{ github.sha }}
BUILD_VERSION=${{ github.sha }}
load: false
push: true
tags: |
${{ env.REGISTRY }}/${{ github.repository }}/${{ matrix.images.tag }}:latest
- name: Update deployment status
uses: bobheadxi/deployments@88ce5600046c82542f8246ac287d0a53c461bca3 # v1.4.0
if: always()
with:
step: finish
token: ${{ secrets.GITHUB_TOKEN }}
status: ${{ job.status }}
deployment_id: ${{ steps.deployment.outputs.deployment_id }}
env: ${{ steps.deployment.outputs.env }}
env_url: https://github.com/${{ github.repository }}