added antdesign, dask, gradio and prettier icons (#363) #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Docker Image And Deploy To GHCR | |
on: | |
push: | |
branches: | |
- 'main' | |
env: | |
DOCKERHUB_USERNAME: $(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]') | |
GHCR_REPO: ghcr.io/$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]')/skill-icons:latest | |
DOCKERHUB_REPO: $(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]')/skill-icons:latest | |
jobs: | |
build_image: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Log in to GHCR | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GHCR_TOKEN }} | |
- name: Build Docker image for GHCR | |
run: docker build -t ${{ env.GHCR_REPO }} . | |
- name: Push Docker image to GHCR | |
run: docker push ${{ env.GHCR_REPO }} | |
# Fix: Docker Hub not wanting to log in (username and creds are good) | |
# - name: Log in to Docker Hub | |
# uses: docker/login-action@v3 | |
# with: | |
# username: ${{ env.DOCKERHUB_USERNAME }} | |
# password: ${{ secrets.DOCKERHUB_TOKEN }} | |
# | |
# - name: Build Docker image for Docker Hub | |
# run: docker build -t ${{ env.DOCKERHUB_REPO }} . | |
# | |
# - name: Push Docker image to Docker Hub | |
# run: docker push ${{ env.DOCKERHUB_REPO }} |