Skip to content

Upgrade to qwc2 lts2024 #5

Upgrade to qwc2 lts2024

Upgrade to qwc2 lts2024 #5

name: Build and push nightly
on:
pull_request:
branches: [ "master" ]
jobs:
build-and-push-qwc2-minimal-nightly:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push qwc2-minimal-base
uses: docker/build-push-action@v3
with:
context: ./
# do not push for the moment, to avoid load
push: true
tags: ghcr.io/${{ github.repository }}-qwc2-minimal-base:${{ github.head_ref }}-${{ github.sha }}
target: base
- name: Build and push qwc2-minimal-dev
uses: docker/build-push-action@v3
with:
context: ./
# do not push for the moment, to avoid load
push: true
tags: ghcr.io/${{ github.repository }}-qwc2-minimal-dev:${{ github.head_ref }}-${{ github.sha }}
target: dev
- name: Build and push qwc2-minimal-builder
uses: docker/build-push-action@v3
with:
context: ./
# do not push for the moment, to avoid load
push: true
tags: ghcr.io/${{ github.repository }}-qwc2-minimal-builder:${{ github.head_ref }}-${{ github.sha }}
target: builder
- name: Build and push qwc2-minimal-prod
uses: docker/build-push-action@v3
with:
context: ./
# do not push for the moment, to avoid load
push: true
tags: ghcr.io/${{ github.repository }}-qwc2-minimal-prod:${{ github.head_ref }}-${{ github.sha }}
target: prod