Skip to content

Add support for database implement (#623) #521

Add support for database implement (#623)

Add support for database implement (#623) #521

Workflow file for this run

name: image-develop
on:
push:
branches:
- master
jobs:
image:
name: docker build images of function
runs-on: ubuntu-latest
steps:
- name: Install deps
run: sudo apt update -y && sudo apt install -y qemu qemu-user-static
- name: Install Docker CE for buildx
run: |
sudo apt update
sudo apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt update
sudo apt install docker-ce
docker -v
- name: Checkout code
uses: actions/checkout@v1
- name: docker login
run: |
docker login -u ${{ secrets.DOCKER_REGISTRY_ID }} -p ${{ secrets.DOCKER_REGISTRY_PASS }}
- name: build and publish image
run: |
make image PLATFORMS=all XFLAGS='--push --cache-to=type=local,dest=/tmp/main' REGISTRY=baetyltechtest/