Skip to content

Docker Image CI

Docker Image CI #17

Workflow file for this run

name: Docker Image CI
on:
push:
paths:
- 'Dockerfile'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Docker Login
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build and export
uses: docker/build-push-action@v6
with:
tags: geant_tut:latest
push: true
#outputs: type=docker,dest=/tmp/myimage.tar
# - name: Upload artifact
# uses: actions/upload-artifact@v4
# with:
# name: geant_tut
# path: /tmp/myimage.tar