Skip to content

Commit

Permalink
target GCR not dockerhub
Browse files Browse the repository at this point in the history
  • Loading branch information
HarmlessHarm committed Aug 23, 2024
1 parent 812cec0 commit 5c6a6e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 63 deletions.
58 changes: 0 additions & 58 deletions .github/workflows/build_master.yml

This file was deleted.

11 changes: 6 additions & 5 deletions .github/workflows/build_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,13 @@ jobs:

# Login against a Docker registry except on PR
# https://github.com/docker/login-action
- name: Log into registry Docker Hub
- name: Log into registry Github Container Registry
# if: github.event_name != 'pull_request'
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

# Extract metadata (tags, labels) for Docker
# https://github.com/docker/metadata-action
Expand All @@ -57,4 +58,4 @@ jobs:
with:
context: .
push: true
tags: harmlesskey/harmlesskey_staging
tags: harmlesskey/harmlesskey_staging:latest

0 comments on commit 5c6a6e1

Please sign in to comment.