mirror of
https://github.com/skoobasteeve/telegram-moviebot.git
synced 2026-03-20 03:28:57 +00:00
upload image test
This commit is contained in:
10
.github/workflows/docker-image.yml
vendored
10
.github/workflows/docker-image.yml
vendored
@@ -14,5 +14,15 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
env:
|
||||||
|
github_pat: ${{ secrets.CONTAINER_PAT }}
|
||||||
|
|
||||||
|
|
||||||
- name: Build the Docker image
|
- name: Build the Docker image
|
||||||
run: docker build . --file Dockerfile --tag telegram-moviebot:$(date +%s)
|
run: docker build . --file Dockerfile --tag telegram-moviebot:$(date +%s)
|
||||||
|
|
||||||
|
- name: Authenticate to the container registry
|
||||||
|
run: echo $github_pat | docker login ghcr.io -u skoobasteeve --password-stdin
|
||||||
|
|
||||||
|
- name: Push the image to container registry
|
||||||
|
run: docker push ghcr.io/skoobasteeve/telegram-moviebot:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user