Skip to content

fix: update credentials #8

fix: update credentials

fix: update credentials #8

Workflow file for this run

name: Deploy Docker image to GitHub Pages
on:
push:
branches:
- ci-testing
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build Docker image
run: docker build -t ghcr.io/sunny-unik/node-in-docker .
- name: Login to GitHub Container Registry
run: echo "{\"auths\":{\"ghcr.io\":{\"username\":\"$GITHUB_ACTOR\",\"password\":\"${{ secrets.packages }}\",\"auth\":\"\"}}}" > ~/docker-auth.json && docker login --authfile ~/docker-auth.json ghcr.io
- name: Push Docker image
run: docker push ghcr.io/sunny-unik/node-in-docker
- name: Deploy Docker image to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: .