Skip to content

docker

docker #129

Workflow file for this run

name: docker
on:
push:
pull_request:
schedule:
- cron: "24 2 * * 1"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
#- name: Set up QEMU
# uses: docker/setup-qemu-action@v1
- name: Buildx
uses: docker/setup-buildx-action@v2
- name: Login
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: rocker/r-devel:latest
- name: Timestamp
run: date --rfc-3339=seconds > lastBuild.txt
- name: Commit and push
uses: EndBug/add-and-commit@v9
with:
add: "lastBuild.txt"
push: true
default_author: github_actions