docker login

This commit is contained in:
2024-03-04 18:48:28 -07:00
parent 84dd05ec9b
commit 21b4161bfe

View File

@@ -18,6 +18,9 @@ jobs:
build:
runs-on: cjyar-24
steps:
- name: docker login
if: ${{ inputs.push == true }}
run: echo ${{ secrets.DOCKER_TOKEN }} | docker login -u cjyar --password-stdin
- uses: actions/checkout@v4
- name: build
run: docker build -t ${{ inputs.image_name }}:${{ github.run_number }} .