1
0
mirror of https://github.com/GNS3/gns3-server synced 2025-08-02 11:58:29 +00:00

Resolving the Errors

This commit is contained in:
Nick1200000 2025-06-08 13:38:35 +05:30
parent 25bc2dce57
commit aa1c0bb557

View File

@ -28,12 +28,12 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
# - name: Build and push to GitHub Container Registry - name: Build and push to GitHub Container Registry
# run: | run: |
# docker build -t ghcr.io/${{ github.event.repository.name }}:latest . docker build -t ghcr.io/$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]'):latest .
# docker push ghcr.io/${{ github.event.repository.name }}:latest docker push ghcr.io/$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]'):latest
- name: Build and push to Docker Hub - name: Build and push to Docker Hub
run: | run: |
docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}:latest . docker build -t ${{ github.repository }}:latest .
docker push ${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}:latest docker push ${{ github.repository }}:latest