Modify color palette images #11
This file contains hidden or 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: publish-docker-image | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish-docker-image-on-github-cr: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: "Syyysco" | |
password: ${{ secrets.CONTAINER_REGISTRY }} | |
- name: Build 🔧 and Push 📦 the Docker image of my personal portfolio on Github Container Registry | |
run: | | |
docker build -t ghcr.io/syyysco/syyysco.github.io:latest . | |
docker push ghcr.io/syyysco/syyysco.github.io:latest | |
publish-docker-image-on-dockerhub: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Login to DockerHub | |
uses: docker/login-action@v2 | |
with: | |
username: "syyysco" | |
password: ${{ secrets.DOCKERHUB }} | |
- name: Build 🔧 and Push 📦 the Docker image of my personal portfolio on Dockerhub | |
run: | | |
docker build -t syyysco/syyysco.github.io:latest . | |
docker push syyysco/syyysco.github.io:latest |