From f7b9f87a09857278f925d915fdf083d21c3c19c1 Mon Sep 17 00:00:00 2001 From: aceberg <1502200+aceberg@users.noreply.github.com> Date: Sun, 20 Oct 2024 18:59:57 +0700 Subject: [PATCH] Dev Action upd --- .github/workflows/dev-docker-io.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dev-docker-io.yml b/.github/workflows/dev-docker-io.yml index 89c62d1..64d1981 100644 --- a/.github/workflows/dev-docker-io.yml +++ b/.github/workflows/dev-docker-io.yml @@ -16,11 +16,20 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - name: Build and Push Docker Image to docker.io + # - name: Build and Push Docker Image to docker.io + # uses: mr-smithers-excellent/docker-build-push@v6 + # with: + # image: ${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }} + # tags: ${{ env.TAGS }} + # registry: docker.io + # username: ${{ secrets.DOCKER_USERNAME }} + # password: ${{ secrets.DOCKER_PASSWORD }} + + - name: Build and Push Docker Image to Github uses: mr-smithers-excellent/docker-build-push@v6 with: - image: ${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }} + image: ${{ env.IMAGE_NAME }} tags: ${{ env.TAGS }} - registry: docker.io - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} \ No newline at end of file + registry: ghcr.io + username: ${{ secrets.GHCR_USERNAME }} + password: ${{ secrets.GHCR_TOKEN }} \ No newline at end of file