mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-25 08:55:08 +00:00
chore: fix code formatting via Prettier
This commit is contained in:
parent
79046f9480
commit
77f393fa79
2 changed files with 6 additions and 6 deletions
4
.github/workflows/check.yml
vendored
4
.github/workflows/check.yml
vendored
|
|
@ -18,7 +18,7 @@ jobs:
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: "3.11"
|
||||||
|
|
||||||
- name: Install pre-commit
|
- name: Install pre-commit
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -38,7 +38,7 @@ jobs:
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: "3.11"
|
||||||
|
|
||||||
- name: Install linters
|
- name: Install linters
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
8
.github/workflows/docker-build.yml
vendored
8
.github/workflows/docker-build.yml
vendored
|
|
@ -3,7 +3,7 @@ name: Digikwal stable
|
||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
types: [published]
|
types: [published]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -18,7 +18,7 @@ jobs:
|
||||||
username: ${{ secrets.DOCKER_USER }}
|
username: ${{ secrets.DOCKER_USER }}
|
||||||
password: ${{ secrets.DOCKER_PAT }}
|
password: ${{ secrets.DOCKER_PAT }}
|
||||||
|
|
||||||
- name: Setup enviroment variables
|
- name: Setup environment variables
|
||||||
run: |
|
run: |
|
||||||
export APPS_JSON_BASE64=$(base64 < ./apps.json | tr -d '\n')
|
export APPS_JSON_BASE64=$(base64 < ./apps.json | tr -d '\n')
|
||||||
echo "APPS_JSON_BASE64=$APPS_JSON_BASE64" >> $GITHUB_ENV
|
echo "APPS_JSON_BASE64=$APPS_JSON_BASE64" >> $GITHUB_ENV
|
||||||
|
|
@ -38,9 +38,9 @@ jobs:
|
||||||
DOCKER_IMAGE: digikwal/erpnext
|
DOCKER_IMAGE: digikwal/erpnext
|
||||||
run: |
|
run: |
|
||||||
echo "Using immutable tag: $TAG_NAME"
|
echo "Using immutable tag: $TAG_NAME"
|
||||||
|
|
||||||
docker push ${DOCKER_IMAGE}:${TAG_NAME}
|
docker push ${DOCKER_IMAGE}:${TAG_NAME}
|
||||||
|
|
||||||
if [[ "$TAG_NAME" == *"-"* ]]; then
|
if [[ "$TAG_NAME" == *"-"* ]]; then
|
||||||
echo "Detected prerelease. Tagging as dev..."
|
echo "Detected prerelease. Tagging as dev..."
|
||||||
docker tag ${DOCKER_IMAGE}:${TAG_NAME} ${DOCKER_IMAGE}:dev
|
docker tag ${DOCKER_IMAGE}:${TAG_NAME} ${DOCKER_IMAGE}:dev
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue