Skip to content

Build Angular Images #100

Build Angular Images

Build Angular Images #100

Workflow file for this run

name: Build Angular Images
on:
schedule:
- cron: "0 22 * * *"
workflow_dispatch:
jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to docker.io
uses: docker/login-action@v2
with:
registry: docker.io
username: docworld
password: ${{ secrets.DOCKER_TOKEN }}
- name: Get tag version
uses: ikrong/[email protected]
with:
function: fetch
params: '["https://api.github.com/repos/angular/angular/releases/latest","get",["tag_name"]]'
- name: Build angular doc
uses: docker/[email protected]
with:
context: ./angular/
push: true
build-args: |
tagName=${{env.tag_name}}
tags: docworld/angular:latest, docworld/angular:${{ env.tag_name }}
UpdateDockerDescription:
needs: [Build]
uses: ikrong/documents/.github/workflows/_updateDocker.yml@main
with:
repoName: angular
secrets: inherit