name: Docker Image CI on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Build the Docker image run: docker build . --file Dockerfile --tag neothor/steam-open-id:$(date +%s) - name: Push the Docker image uses: jerray/publish-docker-action@master with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} registry: docker.pkg.github.com repository: neothor/steam-open-id auto_tag: true