Skip to content

cd

cd #159

Workflow file for this run

name: cd
on:
workflow_dispatch:
push:
branches: 'master'
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 0 * * Tue'
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v5
with:
push: true
platforms: linux/amd64,linux/arm64
tags: jenkins/core-pr-tester:latest