Skip to content

Commit

Permalink
chore: move repos to docker hub
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFlurry committed Jul 22, 2024
1 parent 5f3b1c4 commit c206660
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,23 +82,18 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Lowercase REPO
run: |
echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
file: Dockerfile
push: true
tags: ghcr.io/${{ env.REPO }}/godot:${{ matrix.godot_version }}
tags: rivetgg/godot:${{ matrix.godot_version }}
build-args: |
GODOT_VERSION=${{ matrix.godot_version }}

0 comments on commit c206660

Please sign in to comment.