mirror of https://github.com/zedeus/nitter
Publish Docker images to ghcr.io
This commit is contained in:
parent
e7f206adab
commit
4a23d4b526
|
@ -25,8 +25,9 @@ jobs:
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
registry: ghcr.io
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
username: ${{ github.repository_owner }}
|
||||||
|
password: ${{ github.token }}
|
||||||
- name: Build and push AMD64 Docker image
|
- name: Build and push AMD64 Docker image
|
||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
|
@ -34,4 +35,4 @@ jobs:
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
push: true
|
push: true
|
||||||
tags: zedeus/nitter:latest,zedeus/nitter:${{ github.sha }}
|
tags: ${{ github.repository }}:latest,${{ github.repository }}:${{ github.sha }}
|
||||||
|
|
Loading…
Reference in New Issue