Skip to content

Commit

Permalink
ci: switch to github registry
Browse files Browse the repository at this point in the history
  • Loading branch information
paradajz committed Feb 23, 2024
1 parent c4960ab commit 1e57a92
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
name: Build/Test [Ubuntu]
runs-on: ubuntu-22.04
container:
image: paradajz168/opendeck-dev:latest
image: ghcr.io/shanteacontrols/opendeck:latest
options: --user root
steps:
- name: Mark repository as safe
Expand All @@ -25,7 +25,7 @@ jobs:
name: Code formatting
runs-on: ubuntu-22.04
container:
image: paradajz168/opendeck-dev:latest
image: ghcr.io/shanteacontrols/opendeck:latest
options: --user root
steps:
- name: Mark repository as safe
Expand All @@ -41,7 +41,7 @@ jobs:
name: Code linting
runs-on: ubuntu-22.04
container:
image: paradajz168/opendeck-dev:latest
image: ghcr.io/shanteacontrols/opendeck:latest
options: --user root
steps:
- name: Mark repository as safe
Expand Down
20 changes: 11 additions & 9 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,19 @@ jobs:
update_docker:
runs-on: ubuntu-22.04
steps:
- name: Checkout
- name: Pull the repository
uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
fetch-depth: 0
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push to docker hub
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: .
file: .devcontainer/Dockerfile
push: true
tags: paradajz168/opendeck-dev:latest
context: .
file: .devcontainer/Dockerfile
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '3.7'
services:
opendeck:
container_name: opendeck
image: paradajz168/opendeck-dev
image: ghcr.io/shanteacontrols/opendeck
volumes:
- $PWD:/home/ubuntu/OpenDeck
working_dir: /home/ubuntu/OpenDeck
Expand Down

0 comments on commit 1e57a92

Please sign in to comment.