Merge pull request #1514 from devonfw/dependabot/npm_and_yarn/angular… #46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |