Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias K <6317548+theCalcaholic@users.noreply.github.com>2022-04-19 02:14:57 +0300
committerTobias K <6317548+theCalcaholic@users.noreply.github.com>2022-04-19 02:14:57 +0300
commitc8867fa3903c12148c82ab27f20fb14bb573bd20 (patch)
tree393ee989fa42341c43569a196641a906f500834c
parent1e2e37ace3de9d5faf7bb53594969261f5619d77 (diff)
Add docker test workflowfeature/docker-workflow-test
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
-rw-r--r--.github/workflows/docker-test.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/docker-test.yml b/.github/workflows/docker-test.yml
new file mode 100644
index 00000000..d8c307f3
--- /dev/null
+++ b/.github/workflows/docker-test.yml
@@ -0,0 +1,15 @@
+name: "Docker Test"
+on:
+ push:
+
+jobs:
+ push-arbitrary-image:
+ runs-on: ubuntu-latest
+ steps:
+ - name: publish
+ run: |
+ docker pull alpine:latest
+ echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
+ IMAGE="$(echo "ghcr.io/${{ github.repository_owner }}/ncp-alpine-test" | tr '[A-Z]' '[a-z]')"
+ docker tag alpine:latest "$IMAGE:test"
+ docker push "$IMAGE:test" \ No newline at end of file