Skip to content

Commit

Permalink
Dev Action upd2
Browse files Browse the repository at this point in the history
  • Loading branch information
aceberg committed Oct 20, 2024
1 parent f7b9f87 commit 6ab2797
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/dev-docker-io.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 6ab2797

Please sign in to comment.