Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add publish github action and bump python version in Dockerfile
Browse files Browse the repository at this point in the history
willthames committed Jan 21, 2024
1 parent faa8bd4 commit c2b8d27
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: publish

on:
push:
tags:
- 'v1.*'
- 'gh-action-test-*'

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Build and push Docker image
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: "{{defaultContext}}"
file: ./Dockerfile
push: true
tags: ghcr.io/${{github.repository}}:${{github.ref_name}}
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.6-alpine3.7
FROM python:3.12-alpine3.19

COPY . /python
WORKDIR /python

0 comments on commit c2b8d27

Please sign in to comment.