fix: use new created_at column name #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
on: | |
push: | |
branches: [main] | |
jobs: | |
docker: | |
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# https://github.com/docker/login-action#github-container-registry | |
- uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
# https://github.com/docker/setup-buildx-action#usage | |
- uses: docker/setup-buildx-action@v1 | |
# https://github.com/docker/build-push-action#usage | |
- uses: docker/build-push-action@v2 | |
with: | |
file: Dockerfile | |
push: true | |
tags: | | |
ghcr.io/${{ github.repository }}:latest | |
cache-from: type=gha | |
cache-to: type=gha,mode=max |