Skip to content

update getpos

update getpos #30

Workflow file for this run

name: Build and Push Multi-Platform Docker Image
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Encode apps.json to Base64
id: encode_apps_json
run: |
export APPS_JSON_BASE64=$(base64 -w 0 apps.json)
echo "APPS_JSON_BASE64=$APPS_JSON_BASE64" >> $GITHUB_ENV
- name: Build and push
uses: docker/build-push-action@v6
with:
tags: geniusdynamics/custom-erpnext:v15.38.0-ns.6
push: true
build-args: |
APPS_JSON_BASE64=${{ env.APPS_JSON_BASE64 }}
# No need to manually tag or push, it's handled in the build command above