Skip to content

Add Penn Courses SQL populate #56

Add Penn Courses SQL populate

Add Penn Courses SQL populate #56

# Generated by cdkactions. Do not modify
# Generated as part of the 'team-sync' stack.
name: Publish team-sync
on:
push:
paths:
- docker/team-sync/**
jobs:
publish-team-sync:
name: Publish team-sync
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/setup-qemu-action@v1
- uses: docker/setup-buildx-action@v1
- name: Cache Docker layers
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: buildx-publish-team-sync
- uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build/Publish
uses: docker/build-push-action@v2
with:
context: docker/team-sync
file: docker/team-sync/Dockerfile
push: ${{ github.ref == 'refs/heads/master' }}
cache-from: type=local,src=/tmp/.buildx-cache,type=registry,ref=pennlabs/team-sync:latest
cache-to: type=local,dest=/tmp/.buildx-cache
tags: pennlabs/team-sync:latest,pennlabs/team-sync:${{ github.sha }}