Skip to content

chore: upgrade @nestjs/cli to upgrade webpack #18

chore: upgrade @nestjs/cli to upgrade webpack

chore: upgrade @nestjs/cli to upgrade webpack #18

Workflow file for this run

name: build docker branch image
on:
push:
branches:
- '*'
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to coding registry
uses: docker/login-action@v2
with:
registry: bangbang93-docker.pkg.coding.net
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract Git Branch
run: echo "GIT_BRANCH=${GITHUB_REF/refs\/heads\//}" >> $GITHUB_ENV
- name: Build and push
id: docker_build
uses: docker/build-push-action@v4
env:
IMAGE_TAG: ${{ env.GIT_BRANCH }}
IMAGE_NAME: bangbang93-docker.pkg.coding.net/registry/bangbang93/freyja
with:
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
tags: |
${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}