Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 0 additions & 50 deletions .github/workflows/node-22.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,36 +8,6 @@ on:
workflow_dispatch:

jobs:
publish-node-22:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Login to Quay.io
uses: docker/login-action@v3.7.0
with:
registry: quay.io
username: ${{ secrets.QUAY_ID }}
password: ${{ secrets.QUAY_PW }}

- name: Checkout repository
uses: actions/checkout@v6.0.2

- name: Build node container
run: |
make build-node-22-base
make build-node-22-dev

- name: Publish container
run: |
TAG=$(git rev-parse --short HEAD)
docker tag quay.io/mynth/node:22-base quay.io/mynth/node:22-base-$TAG
docker tag quay.io/mynth/node:22-dev quay.io/mynth/node:22-dev-$TAG
docker push quay.io/mynth/node:22-base
docker push quay.io/mynth/node:22-dev
docker push quay.io/mynth/node:22-base-$TAG
docker push quay.io/mynth/node:22-dev-$TAG
if: github.ref == 'refs/heads/main'

publish-node-24:
runs-on: ubuntu-latest
timeout-minutes: 10
Expand Down
12 changes: 1 addition & 11 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
all: node-22 node-24
node-22: build-node-22-base build-node-22-dev build-node-22-example
all: node-24
node-24: build-node-24-base build-node-24-dev build-node-24-example

build-node-22-base:
docker build -t quay.io/mynth/node:22-base -f node-22/node-base.Dockerfile node-22

build-node-22-dev:
docker build -t quay.io/mynth/node:22-dev -f node-22/node-dev.Dockerfile node-22

build-node-22-example:
docker build -t node-22-example examples/node-22

build-node-24-base:
docker build -t quay.io/mynth/node:24-base -f node-24/node-base.Dockerfile node-24

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ and can be accessed using the `quay.io/mynth/<name>` registry.
The `node` images are lightweight and optimized containers for running
node.js applications. Two tags exist for the `node` container:

- quay.io/mynth/node:22-base
- quay.io/mynth/node:22-dev
- quay.io/mynth/node:24-base
- quay.io/mynth/node:24-dev

### Usage

Expand All @@ -23,7 +23,7 @@ The first part of the container uses the `dev` tag to build the
application:

``` dockerfile
FROM quay.io/mynth/node:22-dev as builder
FROM quay.io/mynth/node:24-dev as builder

WORKDIR /app
COPY --chown=noddy:noddy package*.json ./
Expand All @@ -46,7 +46,7 @@ Now that your application is built, copy the built files to the image
with the `base` tag:

``` dockerfile
FROM quay.io/mynth/node:22-base
FROM quay.io/mynth/node:24-base
WORKDIR /app
COPY --from=builder --chown=noddy:noddy /app ./
```
Expand Down
30 changes: 0 additions & 30 deletions examples/node-22/.dockerignore

This file was deleted.

1 change: 0 additions & 1 deletion examples/node-22/.gitignore

This file was deleted.

11 changes: 0 additions & 11 deletions examples/node-22/Dockerfile

This file was deleted.

5 changes: 0 additions & 5 deletions examples/node-22/entrypoint.ts

This file was deleted.

16 changes: 0 additions & 16 deletions examples/node-22/package.json

This file was deleted.

Loading