mirror of
https://github.com/zedeus/nitter.git
synced 2025-04-21 16:34:12 +00:00
Publish Docker images to ghcr.io
This commit is contained in:
parent
e7f206adab
commit
4a23d4b526
1 changed files with 4 additions and 3 deletions
7
.github/workflows/build-docker.yml
vendored
7
.github/workflows/build-docker.yml
vendored
|
@ -25,8 +25,9 @@ jobs:
|
|||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ github.token }}
|
||||
- name: Build and push AMD64 Docker image
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
|
@ -34,4 +35,4 @@ jobs:
|
|||
file: ./Dockerfile
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
tags: zedeus/nitter:latest,zedeus/nitter:${{ github.sha }}
|
||||
tags: ${{ github.repository }}:latest,${{ github.repository }}:${{ github.sha }}
|
||||
|
|
Loading…
Reference in a new issue