Update docker/build-push-action action to v6.10.0 (#64) #71
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: 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 |