Skip to content

Commit

Permalink
chore: Use GHCR for images instead of Dockerhub. (#2)
Browse files Browse the repository at this point in the history
* fix: Use GHCR for images instead of Dockerhub.

* fix: Use large runners.
  • Loading branch information
kaiwalyajoshi authored Jan 4, 2024
1 parent dd4c88b commit 2ed4275
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/d2iq-release-tag-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,16 @@ on:
description: 'Release Image Name'
type: string
required: true
default: 'docker.io/mesosphere/gitea:latest'
default: 'ghcr.io/mesosphere/gitea:latest'

jobs:
docker-rootless:
runs-on:
- self-hosted
- small
- large
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -29,8 +32,9 @@ jobs:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_READ_WRITE_USERNAME }}
password: ${{ secrets.DOCKER_READ_WRITE_PASSWORD }}
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: build rootless docker image
uses: docker/build-push-action@v5
with:
Expand Down

0 comments on commit 2ed4275

Please sign in to comment.