Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Commit

Permalink
update docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cubatic45 committed Feb 6, 2024
1 parent bfe4a67 commit ea2b6d9
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/docker.yaml → .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches:
- "main"
pull_request:
branches:
- "main"

env:
IMAGE_NAME: ${{ github.repository }}
Expand All @@ -18,11 +21,6 @@ jobs:
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
# - name: Login to Docker Hub
# uses: docker/login-action@v3
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
Expand All @@ -36,7 +34,5 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
# ${{ env.IMAGE_NAME }}:latest
# ${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.tags }}
ghcr.io/${{ env.IMAGE_NAME }}:latest
ghcr.io/${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.tags }}

0 comments on commit ea2b6d9

Please sign in to comment.