Compare commits
No commits in common. "6645524ea86aa146426e3f9b0d5c53e7205ec2c7" and "01bc758f4a1b46057c130c23d33289cf5362892b" have entirely different histories.
6645524ea8
...
01bc758f4a
1 changed files with 3 additions and 5 deletions
|
@ -15,7 +15,7 @@ jobs:
|
||||||
echo "registry=${registry}"
|
echo "registry=${registry}"
|
||||||
repository="$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')"
|
repository="$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')"
|
||||||
echo "repository=${repository}" >> "$GITHUB_OUTPUT"
|
echo "repository=${repository}" >> "$GITHUB_OUTPUT"
|
||||||
echo "repository=${repository}"
|
echo "repository=${repository}"
|
||||||
- name: Docker meta
|
- name: Docker meta
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
id: docker
|
id: docker
|
||||||
|
@ -43,9 +43,7 @@ jobs:
|
||||||
repository="$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')"
|
repository="$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')"
|
||||||
fullrepo=https://${registry}/${repository}.git
|
fullrepo=https://${registry}/${repository}.git
|
||||||
git init
|
git init
|
||||||
git stash
|
# git pull ${fullrepo}
|
||||||
git pull ${fullrepo}
|
|
||||||
git stash pop
|
|
||||||
npm install @angular/cli
|
npm install @angular/cli
|
||||||
npm run lint
|
npm run lint
|
||||||
- name: Update version
|
- name: Update version
|
||||||
|
@ -64,7 +62,7 @@ jobs:
|
||||||
jq ".version = \"$new_version\"" package.json > temp.json && mv temp.json package.json
|
jq ".version = \"$new_version\"" package.json > temp.json && mv temp.json package.json
|
||||||
git add .
|
git add .
|
||||||
git commit -m "Automated update by GitHub Actions"
|
git commit -m "Automated update by GitHub Actions"
|
||||||
git push origin HEAD:${{ github.ref_name }}
|
git push origin HEAD:${{ github.ref_name }}
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue