Skip to content

Use PAT in docker-image.yml #7

Use PAT in docker-image.yml

Use PAT in docker-image.yml #7

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: arc-runner
steps:
- name: Check out main repository
uses: actions/checkout@v3
- name: Check out aux repository 1
uses: actions/checkout@v3
with:
repository: ilyannn/publish-secret-docs
path: publish-secret-docs
token: ${{ secrets.TOKEN_READ_MEGAVERSE_CONFIG }}
- name: Check out aux repository 2
uses: actions/checkout@v3
with:
repository: ilyannn/hetzner-k3s-main
path: hetzner-k3s-main
token: ${{ secrets.TOKEN_READ_MEGAVERSE_CONFIG }}
- name: Build the Docker image
run: docker build . -t registry.cluster.megaver.se/library/hetzner-k3s-docs-webserver:$(date +%s)-arm64