Skip to content

push temp image

push temp image #137

name: publish-ci-docker-image
on: [push]
jobs:
publish-ci-docker-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build CI Docker image (arm)
env:
DOCKER_TARGET_PLATFORM: linux/arm/v8
run: |
docker build . -f Dockerfile --tag ghcr.io/postgresml/pgcat-ci:ruby-pg-bug-test-arm64
docker run ghcr.io/postgresml/pgcat-ci:ruby-pg-bug-test-arm64
docker push ghcr.io/postgresml/pgcat-ci:ruby-pg-bug-test-arm64