Skip to content

Merge pull request #1645 from devonfw/dependabot/npm_and_yarn/angular… #49

Merge pull request #1645 from devonfw/dependabot/npm_and_yarn/angular…

Merge pull request #1645 from devonfw/dependabot/npm_and_yarn/angular… #49

name: Build and Push Angular Image
on:
push:
branches: [develop]
paths:
- 'angular/**'
workflow_dispatch:
env:
REGISTRY: ghcr.io
IMAGE_NAME: my-thai-star-angular
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Build and push Java image
uses: mr-smithers-excellent/docker-build-push@v5
with:
image: ${{ env.IMAGE_NAME }}
registry: ghcr.io
tags: ${GITHUB_RUN_ID}, latest
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
dockerfile: angular/Dockerfile.githubactions