Skip to content

Commit 651c76b

Browse files
chore(deps): bump python from 3.12-slim to 3.13-slim (#180)
* chore(deps): bump python from 3.12-slim to 3.13-slim Bumps python from 3.12-slim to 3.13-slim. --- updated-dependencies: - dependency-name: python dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * feat: Update publish-image.yml to check Dockerfile * fix: Update publish-image.yml * fix: Update publish-image.yml --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: shenxianpeng <xianpeng.shen@gmail.com>
1 parent ae06ae5 commit 651c76b

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/publish-image.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,25 @@
11
name: publish image
22

33
on:
4+
push:
5+
paths:
6+
- 'Dockerfile'
47
workflow_dispatch:
58
inputs:
69
tag:
7-
description: 'which tag want to build'
10+
description: 'Which tag want to build'
811
default: ''
9-
required: true
12+
required: false
1013

1114
jobs:
1215
publish:
1316
runs-on: ubuntu-latest
1417
steps:
1518
- uses: actions/checkout@v4
19+
- name: Build to check Dockerfile
20+
if: github.event.inputs.tag == ''
21+
run: |
22+
docker build -f Dockerfile -t commit-check .
1623
- name: Build and publish docker image
1724
if: github.event.inputs.tag != ''
1825
run: |

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.12-slim
1+
FROM python:3.13-slim
22

33
ARG VERSION
44

0 commit comments

Comments
 (0)