You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							28 lines
						
					
					
						
							668 B
						
					
					
				
			
		
		
	
	
							28 lines
						
					
					
						
							668 B
						
					
					
				name: Build & Publish Docker Image
 | 
						|
 | 
						|
on:
 | 
						|
  push:
 | 
						|
    branches:
 | 
						|
      - master
 | 
						|
 | 
						|
jobs:
 | 
						|
  docker:
 | 
						|
    runs-on: ubuntu-latest
 | 
						|
    steps:
 | 
						|
      - name: Set output
 | 
						|
        id: vars
 | 
						|
        run: echo ::set-output name=tag::$
 | 
						|
      - name: Set up Docker Buildx
 | 
						|
        uses: docker/setup-buildx-action@v1
 | 
						|
      - name: Login to DockerHub
 | 
						|
        uses: docker/login-action@v1
 | 
						|
        with:
 | 
						|
          username: ${{ secrets.DOCKER_HUB_USERNAME }}
 | 
						|
          password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
 | 
						|
      - name: Build and push
 | 
						|
        id: docker_build
 | 
						|
        uses: docker/build-push-action@v2
 | 
						|
        with:
 | 
						|
          push: true
 | 
						|
          tags: geniusdynamics/glpi:latest
 |