-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (39 loc) · 1.05 KB
/
nodejs18.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: nodejs18
on:
push:
branches:
- main
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Set up QEMU
uses: docker/[email protected]
with:
platforms: all
- name: Set up Docker Buildx
id: buildx
uses: docker/[email protected]
with:
install: true
version: latest
driver-opts: image=moby/buildkit:master
- name: Login to GitHub Packages Docker Registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: jenkins-arvato
password: ${{ secrets.CR_PAT }}
- name: Build and Push
uses: docker/[email protected]
with:
platforms: linux/amd64,linux/arm64
push: true
pull: true
file: ./Dockerfile.nodejs18
tags: ghcr.io/arvatoaws-labs/lambda-pipeline/nodejs18:latest
cache-from: type=registry,ref=ghcr.io/arvatoaws-labs/lambda-pipeline/nodejs18:latest
cache-to: type=inline