Skip to content

build(deps): bump itertools from 0.13.0 to 0.14.0 (#593) #441

build(deps): bump itertools from 0.13.0 to 0.14.0 (#593)

build(deps): bump itertools from 0.13.0 to 0.14.0 (#593) #441

Workflow file for this run

name: docker-build
on:
push:
branches: [ main ]
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
docker-build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Log in to the Container registry
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set outputs
id: vars
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=sha,prefix=,suffix=,format=short
- name: Build and push
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Print staging deploy command
run: echo "helm template --set rev=${{ steps.vars.outputs.sha_short }} -f k8s/values.yaml -f k8s/values/stage.yaml k8s | kubectl apply -f -"
- name: Print production deploy command
run: echo "helm template --set rev=${{ steps.vars.outputs.sha_short }} -f k8s/values.yaml -f k8s/values/prod.yaml k8s | kubectl apply -f -"