Compare commits
No commits in common. "4778c14ee2971f073f8e5a0129baed04c7cd3b82" and "55d01939affed7d969f56ad8b3474b366a2edbd8" have entirely different histories.
4778c14ee2
...
55d01939af
@ -1,36 +0,0 @@
|
|||||||
name: "Build and publish \"Python 3 on Bookworm\" image"
|
|
||||||
defaults:
|
|
||||||
run:
|
|
||||||
shell: sh
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
paths:
|
|
||||||
- python-bookworm/**
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
publish-image:
|
|
||||||
name: "Build and publish"
|
|
||||||
runs-on: alpine
|
|
||||||
steps:
|
|
||||||
- name: Install dependencies
|
|
||||||
run: apk add git docker
|
|
||||||
- name: Check out repository code
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
- name: Login to Gitea Container Registry
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
|
||||||
registry: git.louis-vallat.dev
|
|
||||||
username: louis
|
|
||||||
password: ${{ secrets.CONTAINER_REGISTRY_TOKEN }}
|
|
||||||
- name: Build and push
|
|
||||||
uses: docker/build-push-action@v4
|
|
||||||
with:
|
|
||||||
context: ./python-bookworm
|
|
||||||
file: ./python-bookworm/Dockerfile
|
|
||||||
platforms: |
|
|
||||||
linux/amd64
|
|
||||||
push: true
|
|
||||||
tags: |
|
|
||||||
git.louis-vallat.dev/louis/action-images:python-bookworm
|
|
@ -1,6 +0,0 @@
|
|||||||
FROM node:20-bookworm@sha256:48db4f6ea21d134be744207225753a1730c4bc1b4cdf836d44511c36bf0e34d7
|
|
||||||
|
|
||||||
RUN apt-get update && \
|
|
||||||
apt-get install git -y && \
|
|
||||||
apt-get install python3 python3-pip python3-venv -y && \
|
|
||||||
rm -rf /var/lib/apt/lists/*
|
|
@ -3,6 +3,6 @@ FROM node:20-bookworm@sha256:48db4f6ea21d134be744207225753a1730c4bc1b4cdf836d445
|
|||||||
ENV PATH="/root/.cargo/bin:$PATH"
|
ENV PATH="/root/.cargo/bin:$PATH"
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install git -y && \
|
apt-get install git && \
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
Loading…
Reference in New Issue
Block a user