Skip to content
This repository was archived by the owner on Dec 9, 2022. It is now read-only.

Commit d8e8ca9

Browse files
author
Patrick Poetz
committed
supply github token for test
1 parent 6b726e8 commit d8e8ca9

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
1-
name: Test Docker Image Creation
2-
1+
name: Test GPR Push
32
on: [push]
43

54
jobs:
6-
75
build:
86
runs-on: ubuntu-latest
97
steps:
10-
- name: Checkout
8+
9+
- name: Copy Repo Files
1110
uses: actions/checkout@v1
1211
with:
1312
fetch-depth: 1
14-
- name: Build and Publish Docker image in GPR
13+
- name: Publish Docker Image to GPR
1514
uses: saubermacherag/gpr-docker-publish@master
1615
with:
1716
IMAGE_NAME: 'gpr-docker-publish-test'
18-
TAG: 'v0.0'
17+
TAG: 'my-optional-tag-name'
1918
DOCKERFILE_PATH: '.github/docker/Dockerfile'
2019
BUILD_CONTEXT: '.'
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2122
- name: Build and Publish Docker image to Dockerhub instead of GPR
2223
uses: saubermacherag/gpr-docker-publish@master
2324
with:

0 commit comments

Comments
 (0)