Skip to content

Set registry maintenance end date #31

Set registry maintenance end date

Set registry maintenance end date #31

Workflow file for this run

name: kthcloud-ci
"on":
push:
branches:
- main
workflow_dispatch:
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Validate JSON
run: |
find . -name '*.json' -print0 | xargs -0 -I {} jq empty {}
shell: bash
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: registry.cloud.cbh.kth.se
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v5
with:
push: true
tags: ${{ secrets.DOCKER_TAG }}