mirror of
https://github.com/GNS3/gns3-registry.git
synced 2024-12-24 06:56:41 +00:00
Docker build: Update workflow
This commit is contained in:
parent
4748e168bd
commit
257b5f154f
12
.github/workflows/build-docker-images.yml
vendored
12
.github/workflows/build-docker-images.yml
vendored
@ -32,26 +32,26 @@ jobs:
|
|||||||
# https://github.com/marketplace/actions/docker-login
|
# https://github.com/marketplace/actions/docker-login
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
||||||
# GitHub Container Registry:
|
# GitHub Container Registry:
|
||||||
# registry: ghcr.io
|
# registry: ghcr.io
|
||||||
# username: ${{ github.repository_owner }}
|
# username: ${{ github.repository_owner }}
|
||||||
# password: ${{ secrets.GITHUB_TOKEN }}
|
# password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
#
|
||||||
# DockerHub:
|
# DockerHub:
|
||||||
# username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
# password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
- name: Install python requirements
|
- name: Install python requirements
|
||||||
run: python3 -m pip install --requirement .github/bin/requirements.txt
|
run: python3 -m pip install --requirement .github/bin/requirements.txt
|
||||||
- name: Build and push images
|
- name: Build and push images
|
||||||
env:
|
env:
|
||||||
DOCKER_ACCOUNT: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
||||||
# DOCKER_PASSWORD is optional, only needed for private repositories
|
# DOCKER_PASSWORD is optional, only needed for private repositories
|
||||||
|
#
|
||||||
# GitHub Container Registry:
|
# GitHub Container Registry:
|
||||||
# DOCKER_ACCOUNT: ghcr.io/${{ github.repository_owner }}
|
# DOCKER_ACCOUNT: ghcr.io/${{ github.repository_owner }}
|
||||||
# DOCKER_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
|
# DOCKER_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
#
|
||||||
# DockerHub:
|
# DockerHub:
|
||||||
# DOCKER_ACCOUNT: ${{ secrets.DOCKERHUB_USERNAME }}
|
DOCKER_ACCOUNT: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
# DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}
|
# DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
#
|
#
|
||||||
IMAGES: ${{ inputs.images }}
|
IMAGES: ${{ inputs.images }}
|
||||||
|
Loading…
Reference in New Issue
Block a user