Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 599a9c4060 | |||
| cb180b511f | |||
| 556b43b424 | |||
| e4fb77407f | |||
| 245d5e64a0 | |||
| 97be399c4d |
@@ -15,7 +15,7 @@ permissions:
|
|||||||
packages: write
|
packages: write
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: ghcr.io
|
REGISTRY: git.farh.net
|
||||||
IMAGE_NAME: cartsnitch/api
|
IMAGE_NAME: cartsnitch/api
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -123,19 +123,13 @@ jobs:
|
|||||||
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
|
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
|
||||||
echo "CalVer tag: $VERSION"
|
echo "CalVer tag: $VERSION"
|
||||||
|
|
||||||
- name: Log in to Docker Hub
|
- name: Log in to Gitea Container Registry
|
||||||
|
if: github.event_name == 'push'
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
registry: git.farh.net
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
username: cartsnitch
|
||||||
|
password: ${{ secrets.GITEA_TOKEN }}
|
||||||
- name: Log in to GHCR
|
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
|
||||||
registry: ${{ env.REGISTRY }}
|
|
||||||
username: ${{ github.actor }}
|
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
- name: Extract metadata
|
- name: Extract metadata
|
||||||
id: meta
|
id: meta
|
||||||
|
|||||||
@@ -1,27 +0,0 @@
|
|||||||
# The current version of the config schema
|
|
||||||
version: 1
|
|
||||||
# What protocol to use when performing git operations. Supported values: ssh, https
|
|
||||||
git_protocol: https
|
|
||||||
# What editor gh should run when creating issues, pull requests, etc. If blank, will refer to environment.
|
|
||||||
editor:
|
|
||||||
# When to interactively prompt. This is a global config that cannot be overridden by hostname. Supported values: enabled, disabled
|
|
||||||
prompt: enabled
|
|
||||||
# Preference for editor-based interactive prompting. This is a global config that cannot be overridden by hostname. Supported values: enabled, disabled
|
|
||||||
prefer_editor_prompt: disabled
|
|
||||||
# A pager program to send command output to, e.g. "less". If blank, will refer to environment. Set the value to "cat" to disable the pager.
|
|
||||||
pager:
|
|
||||||
# Aliases allow you to create nicknames for gh commands
|
|
||||||
aliases:
|
|
||||||
co: pr checkout
|
|
||||||
# The path to a unix socket through which to send HTTP connections. If blank, HTTP traffic will be handled by net/http.DefaultTransport.
|
|
||||||
http_unix_socket:
|
|
||||||
# What web browser gh should use when opening URLs. If blank, will refer to environment.
|
|
||||||
browser:
|
|
||||||
# Whether to display labels using their RGB hex color codes in terminals that support truecolor. Supported values: enabled, disabled
|
|
||||||
color_labels: disabled
|
|
||||||
# Whether customizable, 4-bit accessible colors should be used. Supported values: enabled, disabled
|
|
||||||
accessible_colors: disabled
|
|
||||||
# Whether an accessible prompter should be used. Supported values: enabled, disabled
|
|
||||||
accessible_prompter: disabled
|
|
||||||
# Whether to use a animated spinner as a progress indicator. If disabled, a textual progress indicator is used instead. Supported values: enabled, disabled
|
|
||||||
spinner: enabled
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
github.com:
|
|
||||||
users:
|
|
||||||
cartsnitch-qa[bot]:
|
|
||||||
oauth_token: ghs_kyu7ex7DQ2h0OJjbRtceCVhp5IeQQz3E8Cl3
|
|
||||||
oauth_token: ghs_kyu7ex7DQ2h0OJjbRtceCVhp5IeQQz3E8Cl3
|
|
||||||
user: cartsnitch-qa[bot]
|
|
||||||
Reference in New Issue
Block a user