Skip to content

chore(deps): update module github.com/redis/go-redis/v9 to v9.7.0 #873

chore(deps): update module github.com/redis/go-redis/v9 to v9.7.0

chore(deps): update module github.com/redis/go-redis/v9 to v9.7.0 #873

Workflow file for this run

name: Build Container Image for vk2tg
on:
push:
paths:
- "build/vk2tg/**"
- "cmd/vk2tgr/**"
- "internal/pkg/vk2tg/**"
- "go.mod"
- "go.sum"
- ".github/workflows/vk2tg.yml"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Docker meta
id: docker_meta
uses: docker/metadata-action@v5.6.1
with:
images: ghcr.io/lexfrei/vk2tg
flavor: |
latest=true
tags: |
type=ref,event=branch
type=ref,event=pr
type=sha
- name: Set up QEMU
uses: docker/setup-qemu-action@v3.2.0
with:
platforms: "arm64,amd64"
- name: Checkout
uses: actions/checkout@v4.2.2
- name: Set up Docker Context for Buildx
id: buildx-context
run: |
docker context create builders
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3.7.1
with:
endpoint: builders
config-inline: |
[registry."docker.io"]
mirrors = ["mirror.gcr.io"]
- name: Login to GitHub Container Registry
uses: docker/login-action@v3.3.0
if: github.ref == 'refs/heads/master'
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.CR_PAT }}
- name: Build and push
uses: docker/build-push-action@v6.9.0
if: github.ref == 'refs/heads/master'
with:
push: true
context: .
file: ./build/vk2tg/Dockerfile
platforms: linux/arm64, linux/amd64
tags: ${{ steps.docker_meta.outputs.tags }}
- name: Build
uses: docker/build-push-action@v6.9.0
if: github.ref == !'refs/heads/master'
with:
context: .
file: ./build/exporter/Dockerfile
platforms: linux/arm64, linux/amd64
tags: ${{ steps.docker_meta.outputs.tags }}