Skip to content

Updated version of the fstest article. #8

Updated version of the fstest article.

Updated version of the fstest article. #8

name: Docker Image CI
on:
push:
paths:
- Dockerfile
- 'website/**'
workflow_dispatch:
jobs:
build:
env:
DOCKERIMAGE: docker.io/playtechnique/website:${{ github.run_number }}
runs-on: ubuntu-latest
steps:
- name: Log in to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PAT }}
- name: Build and Publish the Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: ${{ env.DOCKERIMAGE }}
- name: what is the docker image
run: |
echo ${{ env.DOCKERIMAGE }}