Update .github/workflows/docker-build-push-dockerhub.yml
Some checks failed
Build and push image to DockerHub / build (push) Failing after 8s

This commit is contained in:
2025-05-31 17:12:24 +00:00
parent d21ff3e22a
commit 4218914507

View File

@@ -33,7 +33,7 @@ jobs:
# This workflow contains a single job called "build" # This workflow contains a single job called "build"
build: build:
# The type of runner that the job will run on # 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 represent a sequence of tasks that will be executed as part of the job
steps: steps:
@@ -49,9 +49,6 @@ jobs:
# with: # with:
# ref: ${{ github.event.inputs.version }} # ref: ${{ github.event.inputs.version }}
- name: Set up Node.js
uses: actions/setup-node@v4
- name: checkout - name: checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@@ -59,22 +56,22 @@ jobs:
run: | run: |
git submodule update --init git submodule update --init
- name: Log in to the Docker Hub registry # - name: Log in to the Docker Hub registry
uses: docker/login-action@v3 # uses: docker/login-action@v3
with: # with:
# Username used to log against the Docker registry # # Username used to log against the Docker registry
username: ${{ secrets.DOCKER_HUB_USERNAME }} # username: ${{ secrets.DOCKER_HUB_USERNAME }}
# Password or personal access token used to log against the Docker registry # # Password or personal access token used to log against the Docker registry
password: ${{ secrets.DOCKER_HUB_TOKEN }} # password: ${{ secrets.DOCKER_HUB_TOKEN }}
# Log out from the Docker registry at the end of a job # # Log out from the Docker registry at the end of a job
logout: true # optional, default is true # logout: true # optional, default is true
- name: Log in to the Github Container registry - name: Log in to the Github Container registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: ${{ github.actor }} username: nnethery
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GHCR_TOKEN }}
- name: Docker meta - name: Docker meta
id: meta id: meta