Skip to content

Merge pull request #139 from core-ds/changeset-release/master #116

Merge pull request #139 from core-ds/changeset-release/master

Merge pull request #139 from core-ds/changeset-release/master #116

Workflow file for this run

name: Build docker images
on:
workflow_dispatch:
push:
branches:
- master
env:
# version that would be tagged as latest
LATEST_VERSION: 14.21.3
jobs:
build:
strategy:
matrix:
version: [14.21.3, 16.20.0, 18.16.0]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build and push Docker images
uses: docker/build-push-action@v1
with:
path: packages/alpine-node-nginx/
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
repository: alfabankui/arui-scripts
build_args: NODE_VERSION=${{ matrix.version }},ALPINE_VERSION=3.16
tags: ${{ matrix.version == env.LATEST_VERSION && format('{0},latest', matrix.version) || matrix.version }}