Skip to content

chore(deps): bump python from 3.11-slim to 3.12-slim #9

chore(deps): bump python from 3.11-slim to 3.12-slim

chore(deps): bump python from 3.11-slim to 3.12-slim #9

Workflow file for this run

name: StarWarden Build
on:
push:
branches-ignore: ["main"]
pull_request:
branches: ["main"]
workflow_dispatch:
env:
DOCKER_IMAGE: rtuszik/starwarden
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ env.DOCKER_IMAGE }}:latest
cache-from: type=registry,ref=${{ env.DOCKER_IMAGE }}:buildcache
cache-to: type=registry,ref=${{ env.DOCKER_IMAGE }}:buildcache,mode=max
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}