Skip to content

Update docker-image.yml #5

Update docker-image.yml

Update docker-image.yml #5

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "gh-actions" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checkout source code
- uses: actions/checkout@v4
with:
ref: 'gh-actions'
# Login to Docker Hub
- name: Docker Login
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
# Push image to registry
- name: Build and push Docker images
uses: docker/[email protected]
with:
push: true
build-args: |
OEDATAREP_RELEASE=${{ vars.OEDATAREP_RELEASE }}
tags: oedatarep/oedatarep-invenio-rdm:${{ vars.OEDATAREP_RELEASE }}