Skip to content

testing new ci

testing new ci #171

Workflow file for this run

name: CI
on:
push:
branches:
- master
env:
OLD_IMAGE: ghcr.io/$GIT_ORG/xreg-server
jobs:
build_test_push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set IMAGE env var (need to be indirect due to user of env var)
run: echo "IMAGE=ghcr.io/${GIT_ORG}/xreg-server" >> $GITHUB_ENV
- name: Echo env vars for debugging
run: env | sort
- name: ghcr.io login
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: build, test, push
run: make mysql test push
- env:
SOAPHUB_SSH_KEY: ${{ secrets.SOAPHUB_SSH_KEY }}
run: misc/restart SOAPHUB_SSH_KEY ubuntu@soaphub.org