Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ci): switch docker registry from GitHub to GitLab #9

Merged
merged 2 commits into from
Mar 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
push: true


build_github:
build_gitlab:
runs-on: ubuntu-latest
environment: production
steps:
Expand All @@ -72,7 +72,7 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
images: gchr.io/flags-gg/docs
images: registry.gitlab.com/flags-gg/docs
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{raw}}
Expand All @@ -92,9 +92,9 @@ jobs:
- name: Login Github
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: registry.gitlab.com
username: ${{ secrets.GITLAB_USERNAME }}
password: ${{ secrets.GITLAB_POT }}
- name: Build and Push
id: docker_build
uses: docker/build-push-action@v5
Expand Down
Loading