dont process.exit(0) if verification is completed. it's possible, on… #7
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: "LIT Assets Docker Image CI" | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: LargeRunner | |
steps: | |
- uses: actions/checkout@v3 | |
- id: pre-step | |
shell: bash | |
run: echo "release-version=$(date +%s)" >> $GITHUB_OUTPUT | |
- name: Publish the Docker image | |
uses: elgohr/Publish-Docker-Github-Action@v5 | |
with: | |
name: litptcl/lit-assets | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
dockerfile: docker/ubuntu2204/Dockerfile | |
tags: ${{ steps.pre-step.outputs.release-version }} |