Skip to content

ci: Fix docker push for worker-pgs #13

ci: Fix docker push for worker-pgs

ci: Fix docker push for worker-pgs #13

Workflow file for this run

name: Docker Image Push
on:
push:
branches:
- master
jobs:
build-and-push:
runs-on: ubuntu-latest
env:
IMAGE_NAME: ghcr.io/${{ github.actor }}/transcoder
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and Push Docker Image
run: |
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin
IMAGE_VERSION=$(git rev-parse --short HEAD) make push-images
IMAGE_VERSION=latest make push-images