Skip to content

build(deps): bump github.com/redis/go-redis/v9 from 9.4.0 to 9.5.1 #35

build(deps): bump github.com/redis/go-redis/v9 from 9.4.0 to 9.5.1

build(deps): bump github.com/redis/go-redis/v9 from 9.4.0 to 9.5.1 #35

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main" ]
workflow_dispatch:
env:
REGISTRY_USER: ${{ github.actor }}
REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
jobs:
build:
if: ${{ !contains(github.event.head_commit.message, '(skip)') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set variables
id: vars
run: echo "sha_short=$(git rev-parse --short HEAD) >> $GITHUB_OUTPUT"
- uses: vanilla-os/vib-gh-action@v0.6.2
with:
recipe: 'recipe.yml'
- name: Build the Docker image
run: docker build . --file Containerfile --tag vanilla-os/chronos:${{ github.ref_name }}
- uses: actions/upload-artifact@v4
with:
name: Containerfile
path: Containerfile
# Push the image to GHCR (Image Registry)
- name: Push To GHCR
if: github.repository == 'Vanilla-OS/Chronos'
run: |
docker tag vanilla-os/chronos:${{ github.ref_name }} ghcr.io/vanilla-os/chronos:${{ github.ref_name }}
docker login ghcr.io -u ${{ env.REGISTRY_USER }} -p ${{ env.REGISTRY_PASSWORD }}
docker image push "ghcr.io/vanilla-os/chronos:${{ github.ref_name }}"