Skip to content

Update actions/checkout action to v4 #56

Update actions/checkout action to v4

Update actions/checkout action to v4 #56

Workflow file for this run

name: Push to main
on:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Shellcheck
run: docker compose run --rm shellcheck build.sh
build-push:
needs: lint
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
submodules: recursive
- name: Patch Dockerfile
run: ./build.sh
- name: Login to Docker
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build & Push
uses: docker/[email protected]
with:
context: .
push: true
tags: |
technowledgy/postgres:14-alpine
technowledgy/postgres:latest