Skip to content

build_all

build_all #2771

Workflow file for this run

name: build_all
on:
schedule:
# Times are in UTC, this job is run daily @ 14HRS = 9AM EST, 20HRS = 3PM EST
- cron: "0 14,20 * * *"
workflow_dispatch:
jobs:
build_all:
if: "!contains(github.event.head_commit.message, 'skip ci')"
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: build and push to docker
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
LP_T_CONSUMER_KEY: ${{ secrets.LP_T_CONSUMER_KEY }}
LP_T_CONSUMER_SECRET: ${{ secrets.LP_T_CONSUMER_SECRET }}
LP_T_OAUTH_SECRET: ${{ secrets.LP_T_OAUTH_SECRET }}
LP_T_OAUTH_TOKEN: ${{ secrets.LP_T_OAUTH_TOKEN }}
run: |
sudo rm /etc/localtime
sudo ln -s /usr/share/zoneinfo/America/Toronto /etc/localtime
docker login --username $DOCKER_USERNAME --password $DOCKER_PASSWORD
curl --silent --location --output ~/am-dapp --url https://github.com/forwardcomputers/bin/raw/main/am-dapp
chmod +x ~/am-dapp
~/am-dapp upgrade_all_ci