Skip to content

Commit

Permalink
remove ghcr action
Browse files Browse the repository at this point in the history
  • Loading branch information
subshell committed Dec 29, 2024
1 parent e739a35 commit 42940db
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,26 +42,3 @@ jobs:
docker push subdirectory/subshell:${{ github.ref_name }}
name: docker push dockerhub tag
- name: Login to ghcr
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- run: |
docker tag subdirectory/subshell:${{ github.sha }} ghcr.io/${{ github.actor }}/subshell:${{ github.sha }}
docker push ghcr.io/${{ github.actor }}/subshell:${{ github.sha }}
name: docker push ghcr sha
- run: |
docker tag subdirectory/subshell:${{ github.sha }} ghcr.io/${{ github.actor }}/subshell:latest
docker push ghcr.io/${{ github.actor }}/subshell:latest
if: github.ref == 'refs/heads/main'
name: docker push ghcr latest
- run: |
docker tag subdirectory/subshell:${{ github.sha }} ghcr.io/${{ github.actor }}/subshell:${{ github.ref_name }}
docker push ghcr.io/${{ github.actor }}/subshell:${{ github.ref_name }}
name: docker push ghcr tag

0 comments on commit 42940db

Please sign in to comment.