diff --git a/.github/workflows/build-push-docker.yml b/.github/workflows/build-push-docker.yml index bdd64f9..7559d57 100644 --- a/.github/workflows/build-push-docker.yml +++ b/.github/workflows/build-push-docker.yml @@ -59,11 +59,9 @@ jobs: # Dockerfile dir file: ./docker/Dockerfile push: true - cache-from: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:buildcache - cache-to: type=inline - - tags: nemanjamitic/nemanjam.github.io:latest - # tags: ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:latest + tags: ${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:latest # disabled metadata step # tags: ${{ steps.metadata.outputs.tags }} # labels: ${{ steps.metadata.outputs.labels }} + cache-from: type=registry,ref=${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:buildcache + cache-to: type=inline diff --git a/.github/workflows/deploy-docker.yml b/.github/workflows/deploy-docker.yml index 9ed76e3..2eae37d 100644 --- a/.github/workflows/deploy-docker.yml +++ b/.github/workflows/deploy-docker.yml @@ -9,7 +9,7 @@ on: workflow_dispatch: env: - IMAGE_NAME_WITH_TAG: ${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}:latest + IMAGE_NAME_WITH_TAG: ${{ secrets.DOCKER_USERNAME }}/${{ github.event.repository.name }}:latest jobs: deploy: