about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--action.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/action.yml b/action.yml
new file mode 100644
index 00000000..64610282
--- /dev/null
+++ b/action.yml
@@ -0,0 +1,13 @@
+- name: Login to docker hub
+  uses: actions-hub/docker/login@master
+  env:
+    DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
+    DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
+
+- name: Build :latest
+  run: docker build -t aflplusplus:latest .
+
+- name: Push to docker hub :latest
+  uses: actions-hub/docker@master
+  with:
+    args: push aflplusplus:latest