Skip to content

54: Update dependencies and sdk. #19

54: Update dependencies and sdk.

54: Update dependencies and sdk. #19

name: Deply to GitHub Container Registry
on:
push:
tags:
- '*'
jobs:
publish-container-image:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build the container image
run: |
docker build . --tag ghcr.io/project-omotes/omotes-grow-optimizer-worker:latest --tag ghcr.io/project-omotes/omotes-grow-optimizer-worker:${{ github.ref_name}}
docker push ghcr.io/project-omotes/omotes-grow-optimizer-worker:latest
docker push ghcr.io/project-omotes/omotes-grow-optimizer-worker:${{ github.ref_name}}