Adding docker image release to release GH action.
This commit is contained in:
parent
ef0787917a
commit
3ec01a6fe5
|
@ -61,3 +61,12 @@ jobs:
|
||||||
# macOS notarization API key
|
# macOS notarization API key
|
||||||
API_KEY_ID: ${{ secrets.api_key_id }}
|
API_KEY_ID: ${{ secrets.api_key_id }}
|
||||||
API_KEY_ISSUER_ID: ${{ secrets.api_key_issuer_id }}
|
API_KEY_ISSUER_ID: ${{ secrets.api_key_issuer_id }}
|
||||||
|
|
||||||
|
- name: Build/release Docker images
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
env:
|
||||||
|
DOCKER_USER: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
DOCKER_PASSWORD: ${{ secrets.DOCKER_API_KEY }}
|
||||||
|
run: |
|
||||||
|
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
|
||||||
|
run: yarn build:docker
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
pushd ../build
|
pushd ../../build
|
||||||
docker-compose build --force app-service
|
docker-compose build --force app-service
|
||||||
docker-compose build --force worker-service
|
docker-compose build --force worker-service
|
||||||
docker tag build_app-service budibase/budibase-apps:latest
|
docker tag build_app-service budibase/budibase-apps:latest
|
||||||
|
|
|
@ -32,7 +32,8 @@
|
||||||
"lint:fix": "eslint --fix packages",
|
"lint:fix": "eslint --fix packages",
|
||||||
"format": "prettier --write \"{,!(node_modules)/**/}*.{js,jsx,svelte}\"",
|
"format": "prettier --write \"{,!(node_modules)/**/}*.{js,jsx,svelte}\"",
|
||||||
"test:e2e": "lerna run cy:test",
|
"test:e2e": "lerna run cy:test",
|
||||||
"test:e2e:ci": "lerna run cy:ci"
|
"test:e2e:ci": "lerna run cy:ci",
|
||||||
|
"build:docker": "cd hosting/scripts/linux/ && ./release-to-docker-hub.sh && cd -"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fortawesome/fontawesome": "^1.1.8"
|
"@fortawesome/fontawesome": "^1.1.8"
|
||||||
|
|
Loading…
Reference in New Issue