mirror of
https://github.com/postgresml/pgcat.git
synced 2026-03-23 01:16:30 +00:00
Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 3. - [Release notes](https://github.com/docker/login-action/releases) - [Commits](https://github.com/docker/login-action/compare/v1...v3) --- updated-dependencies: - dependency-name: docker/login-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
21 lines
633 B
YAML
21 lines
633 B
YAML
name: publish-ci-docker-image
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
jobs:
|
|
publish-ci-docker-image:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Login to GitHub Container Registry
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
- name: Build CI Docker image
|
|
run: |
|
|
docker build . -f Dockerfile.ci --tag ghcr.io/postgresml/pgcat-ci:latest
|
|
docker run ghcr.io/postgresml/pgcat-ci:latest
|
|
docker push ghcr.io/postgresml/pgcat-ci:latest
|