Removed the `docker-tag.yaml` workflow as it is no longer needed. Updated the destination tag format in `docker-master.yaml` and upgraded Node.js major version to 22 in the Dockerfile for compatibility and consistency.
This commit is contained in:
parent
34963812db
commit
6095ba1cac
3 changed files with 2 additions and 25 deletions
|
@ -20,4 +20,4 @@ jobs:
|
||||||
# --- optional (only needed when you plan to push) ---------------------
|
# --- optional (only needed when you plan to push) ---------------------
|
||||||
REGISTRY_USER: ${{ secrets.docker_username }}
|
REGISTRY_USER: ${{ secrets.docker_username }}
|
||||||
REGISTRY_PASS: ${{ secrets.access_token }}
|
REGISTRY_PASS: ${{ secrets.access_token }}
|
||||||
KANIKO_DESTINATION: git.van-hemmen.com/guillaumehemmen/debian-node-firebase:${GITHUB_SHA},git.van-hemmen.com/guillaumehemmen/debian-node-firebase:latest
|
KANIKO_DESTINATION: git.van-hemmen.com/guillaumehemmen/debian-node-firebase:debian_12-node_22,git.van-hemmen.com/guillaumehemmen/debian-node-firebase:latest
|
||||||
|
|
|
@ -1,23 +0,0 @@
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- '*'
|
|
||||||
jobs:
|
|
||||||
docker-tag:
|
|
||||||
runs-on: docker
|
|
||||||
container:
|
|
||||||
image: git.van-hemmen.com/actions/kaniko:25.21.1
|
|
||||||
steps:
|
|
||||||
- name: Build & push with Kaniko
|
|
||||||
run: /bin/build.sh
|
|
||||||
env:
|
|
||||||
# --- mandatory --------------------------------------------------------
|
|
||||||
KANIKO_CONTEXT: git://git.van-hemmen.com/guillaumehemmen/debian-node-firebase.git
|
|
||||||
GIT_REF_NAME: ${{ github.ref_name }}
|
|
||||||
GIT_USERNAME: ${{ secrets.docker_username }}
|
|
||||||
GIT_PASSWORD: ${{ secrets.access_token }}
|
|
||||||
|
|
||||||
# --- optional (only needed when you plan to push) ---------------------
|
|
||||||
REGISTRY_USER: ${{ secrets.docker_username }}
|
|
||||||
REGISTRY_PASS: ${{ secrets.access_token }}
|
|
||||||
KANIKO_DESTINATION: git.van-hemmen.com/guillaumehemmen/debian-node-firebase:${GITHUB_REF_NAME},git.van-hemmen.com/guillaumehemmen/debian-node-firebase:latest
|
|
|
@ -3,7 +3,7 @@ FROM debian:12
|
||||||
LABEL maintainer="guillaume@van-hemmen.com"
|
LABEL maintainer="guillaume@van-hemmen.com"
|
||||||
|
|
||||||
ARG ARG_TZ="Europe/Paris"
|
ARG ARG_TZ="Europe/Paris"
|
||||||
ARG ARG_NODE_MAJOR=20
|
ARG ARG_NODE_MAJOR=22
|
||||||
|
|
||||||
RUN ln -snf /usr/share/zoneinfo/$ARG_TZ /etc/localtime && echo $ARG_TZ > /etc/timezone && \
|
RUN ln -snf /usr/share/zoneinfo/$ARG_TZ /etc/localtime && echo $ARG_TZ > /etc/timezone && \
|
||||||
apt-get update && apt-get install -y ca-certificates curl gnupg && \
|
apt-get update && apt-get install -y ca-certificates curl gnupg && \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue