This repository has been archived by the owner on Sep 12, 2023. It is now read-only.
CI #162
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: CI | |
on: | |
push: | |
schedule: | |
- cron: '15 0 * * 5' | |
workflow_dispatch: | |
jobs: | |
build: | |
permissions: | |
id-token: write | |
contents: read | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get Dockerhub credentials | |
uses: hashicorp/vault-action@v2.4.2 | |
with: | |
url: https://vault.jimdo-platform.net | |
method: jwt | |
secrets: | | |
secret/github/dockerhub DOCKER_USER ; | |
secret/github/dockerhub DOCKER_PASSWORD ; | |
- name: Login to DockerHub registry | |
uses: docker/login-action@v2 | |
with: | |
registry: docker.io | |
username: ${{ env.DOCKER_USER }} | |
password: ${{ env.DOCKER_PASSWORD }} | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20' | |
- name: Make all | |
run: make |