Dev Action upd2
This commit is contained in:
parent
f7b9f87a09
commit
6ab27978f0
1 changed files with 13 additions and 6 deletions
19
.github/workflows/dev-docker-io.yml
vendored
19
.github/workflows/dev-docker-io.yml
vendored
|
|
@ -25,11 +25,18 @@ jobs:
|
|||
# username: ${{ secrets.DOCKER_USERNAME }}
|
||||
# password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Build and Push Docker Image to Github
|
||||
uses: mr-smithers-excellent/docker-build-push@v6
|
||||
- name: Login to GHCR
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
image: ${{ env.IMAGE_NAME }}
|
||||
tags: ${{ env.TAGS }}
|
||||
registry: ghcr.io
|
||||
username: ${{ secrets.GHCR_USERNAME }}
|
||||
password: ${{ secrets.GHCR_TOKEN }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
tags: |
|
||||
ghcr.io/${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:${{ env.TAGS }}
|
||||
Loading…
Reference in a new issue