Skip to content

Commit 53bf644

Browse files
authored
ci(push): fix GHCR docker push (#49)
1 parent 0e83f29 commit 53bf644

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/push.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,4 @@ jobs:
2727
username: ${{ github.repository_owner }}
2828
password: ${{ secrets.GITHUB_TOKEN }}
2929
- name: Push to GitHub container registry
30-
run: |
31-
docker tag openapm/backend:latest ghcr.io/${{ github.repository_owner }}/${{ env.BACKEND_IMAGE }}:latest
32-
docker push ghcr.io/${{ github.repository_owner }}/${{ env.BACKEND_IMAGE }}:latest
30+
run: make push

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ DOCKERFILE_PATH = ./Dockerfile
22
PYPROJECT_FILE = ./pyproject.toml
33
LOCK_FILE = ./uv.lock
44
REQ_FILE = ./requirements.txt
5-
DOCKER_NAMESPACE ?= frgfm
5+
DOCKER_NAMESPACE ?= ghcr.io/frgfm
66
DOCKER_REPO ?= validate-python-headers
77
DOCKER_TAG ?= latest
88

0 commit comments

Comments
 (0)