Update .github/workflows/docker-build-push-dockerhub.yml
Some checks failed
Build and push image to DockerHub / build (push) Failing after 8s
Some checks failed
Build and push image to DockerHub / build (push) Failing after 8s
This commit is contained in:
@@ -33,7 +33,7 @@ jobs:
|
||||
# This workflow contains a single job called "build"
|
||||
build:
|
||||
# The type of runner that the job will run on
|
||||
runs-on: linux_arm64
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
steps:
|
||||
@@ -49,9 +49,6 @@ jobs:
|
||||
# with:
|
||||
# ref: ${{ github.event.inputs.version }}
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v4
|
||||
|
||||
- name: checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
@@ -59,22 +56,22 @@ jobs:
|
||||
run: |
|
||||
git submodule update --init
|
||||
|
||||
- name: Log in to the Docker Hub registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
# Username used to log against the Docker registry
|
||||
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||
# Password or personal access token used to log against the Docker registry
|
||||
password: ${{ secrets.DOCKER_HUB_TOKEN }}
|
||||
# Log out from the Docker registry at the end of a job
|
||||
logout: true # optional, default is true
|
||||
# - name: Log in to the Docker Hub registry
|
||||
# uses: docker/login-action@v3
|
||||
# with:
|
||||
# # Username used to log against the Docker registry
|
||||
# username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||
# # Password or personal access token used to log against the Docker registry
|
||||
# password: ${{ secrets.DOCKER_HUB_TOKEN }}
|
||||
# # Log out from the Docker registry at the end of a job
|
||||
# logout: true # optional, default is true
|
||||
|
||||
- name: Log in to the Github Container registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
username: nnethery
|
||||
password: ${{ secrets.GHCR_TOKEN }}
|
||||
|
||||
- name: Docker meta
|
||||
id: meta
|
||||
|
||||
Reference in New Issue
Block a user