Skip to content

Fixing docker run command for systemd #4

Fixing docker run command for systemd

Fixing docker run command for systemd #4

name: Dockerhub sysd
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file systemd/Dockerfile --tag my-image-name:$(date +%s)
- name: Publish to Docker Hub
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: cs1867/git-testpoint-sysd
tags: latest