Update alpine actinia dependencies #27
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: Update alpine actinia dependencies | |
on: | |
schedule: | |
# every 14th at 22UTC | |
- cron: '00 22 14 * *' | |
workflow_dispatch: | |
env: | |
DOCKERHUB_REPOSITORY: mundialis/actinia | |
jobs: | |
docker-alpine-dependencies: | |
name: build and push dependency image | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 | |
- id: meta | |
name: Create tag name | |
run: | | |
date=`date -I` | |
tag=${DOCKERHUB_REPOSITORY}:alpine-dependencies-$date | |
echo "tags=$tag" >> $GITHUB_OUTPUT | |
- name: log | |
run: echo ${{ steps.meta.outputs.tags }} | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to DockerHub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push | |
id: docker_build | |
uses: docker/build-push-action@v5 | |
with: | |
push: true | |
pull: true | |
context: . | |
tags: ${{ steps.meta.outputs.tags }} | |
file: actinia-alpine/Dockerfile_alpine_dependencies | |
- name: Image digest | |
run: echo ${{ steps.docker_build.outputs.digest }} |