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:
parent
25bc2dce57
commit
aa1c0bb557
12
.github/workflows/docker-build.yml
vendored
12
.github/workflows/docker-build.yml
vendored
@ -28,12 +28,12 @@ jobs:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
# - name: Build and push to GitHub Container Registry
|
||||
# run: |
|
||||
# docker build -t ghcr.io/${{ github.event.repository.name }}:latest .
|
||||
# docker push ghcr.io/${{ github.event.repository.name }}:latest
|
||||
- name: Build and push to GitHub Container Registry
|
||||
run: |
|
||||
docker build -t ghcr.io/$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]'):latest .
|
||||
docker push ghcr.io/$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]'):latest
|
||||
|
||||
- name: Build and push to Docker Hub
|
||||
run: |
|
||||
docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}:latest .
|
||||
docker push ${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}:latest
|
||||
docker build -t ${{ github.repository }}:latest .
|
||||
docker push ${{ github.repository }}:latest
|
Loading…
Reference in New Issue
Block a user